aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.target
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2000-11-17 20:35:06 +0000
committerPhil Edwards <pme@gcc.gnu.org>2000-11-17 20:35:06 +0000
commit6414587c8b13a4a0a45788f411c9fe5fd87466ce (patch)
tree7adbd9ab341e5bb0353c2c5e811bf83fb550509c /libstdc++-v3/configure.target
parent14fbab6d759d8085be40343f06911c672539a2df (diff)
downloadgcc-6414587c8b13a4a0a45788f411c9fe5fd87466ce.zip
gcc-6414587c8b13a4a0a45788f411c9fe5fd87466ce.tar.gz
gcc-6414587c8b13a4a0a45788f411c9fe5fd87466ce.tar.bz2
acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to...
2000-11-17 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to... * configure.target: ...here. Enable generic atomic ops, and warn. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. From-SVN: r37524
Diffstat (limited to 'libstdc++-v3/configure.target')
-rw-r--r--libstdc++-v3/configure.target27
1 files changed, 20 insertions, 7 deletions
diff --git a/libstdc++-v3/configure.target b/libstdc++-v3/configure.target
index ffa3b16..ff06828 100644
--- a/libstdc++-v3/configure.target
+++ b/libstdc++-v3/configure.target
@@ -108,13 +108,26 @@ esac
# Set any flags dependant on the full target triplet.
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
-#case "${target}" in
-# *-*-telepathic)
-# # On the MindReader 10000 platform, you really *can* tell the
-# # compiler to "do what I mean".
-# l_glibcpp_cxxflags='-fDWIM'
-# ;;
-#esac
+case "${target}" in
+ *-*-aix*)
+ ATOMICITYH=$os_include_dir
+ ;;
+ *-*-freebsd*)
+ ATOMICITYH=$cpu_include_dir
+ ;;
+ *-*-irix*)
+ ATOMICITYH=$os_include_dir
+ ;;
+ *-*-linux*)
+ ATOMICITYH=$cpu_include_dir
+ ;;
+ sparc*-*-*)
+ ATOMICITYH=$cpu_include_dir
+ ;;
+ *)
+ ATOMICITYH="config/cpu/generic"
+ ;;
+esac
# Okay, folks, show's over. Move along, move along.