aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.in
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2002-11-21 07:34:30 +0000
committerPhil Edwards <pme@gcc.gnu.org>2002-11-21 07:34:30 +0000
commit974e336bb1184fee5add4af7a3f88c9a963cfffb (patch)
tree180e96c8715c16501220a00ea2964ce955472146 /libstdc++-v3/configure.in
parenta8a4259d5c6580606ac8267bfc400d8e32aa6a35 (diff)
downloadgcc-974e336bb1184fee5add4af7a3f88c9a963cfffb.zip
gcc-974e336bb1184fee5add4af7a3f88c9a963cfffb.tar.gz
gcc-974e336bb1184fee5add4af7a3f88c9a963cfffb.tar.bz2
acinclude.m4: Uniform formatting.
2002-11-21 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4: Uniform formatting. * configure.in: x * configure.target: x * aclocal.m4, configure: Regenerate. From-SVN: r59328
Diffstat (limited to 'libstdc++-v3/configure.in')
-rw-r--r--libstdc++-v3/configure.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/libstdc++-v3/configure.in b/libstdc++-v3/configure.in
index 50b2e89..c3ff82b 100644
--- a/libstdc++-v3/configure.in
+++ b/libstdc++-v3/configure.in
@@ -70,6 +70,19 @@ GLIBCPP_ENABLE_CONCEPT_CHECKS
# Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
AC_CHECK_HEADERS(string.h stdlib.h)
+# No surprises, no surprises...
+if test $ATOMICITYH = cpu/generic ; then
+ AC_MSG_WARN([No native atomic operations are provided yet for this platform.])
+ if test $target_thread_file = single; then
+ AC_MSG_WARN([They cannot be faked when thread support is disabled.])
+ AC_MSG_WARN([Thread-safety of certain classes is not guaranteed.])
+ else
+ AC_MSG_WARN([They will be faked using a mutex.])
+ AC_MSG_WARN([Performance of certain classes will degrade as a result.])
+ fi
+fi
+
+
if test -n "$with_cross_host" || test x"$build" != x"$host"; then
# We are being configured with some form of cross compiler.
@@ -417,7 +430,7 @@ GLIBCPP_ENABLE_SYMVERS([yes])
# Propagate the target-specific source directories through the build chain.
# (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
-# uses it, and they only get used here.)
+# uses it, and it only gets used in this file.)
OS_INC_SRCDIR=config/${os_include_dir}
ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
AC_SUBST(OS_INC_SRCDIR)