summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.ac
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-17 13:38:15 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-17 13:38:15 +0000
commit3b7b1092bc50d9042b9cb6e26c479cc8c0dd2150 (patch)
treea835e12160cb96250445b0ea605d5f915eb666e0 /libstdc++-v3/configure.ac
parent58f44f3ecd3e48dda1d56fa96ae02c4e923879aa (diff)
downloadgcc-3b7b1092bc50d9042b9cb6e26c479cc8c0dd2150.tar.gz
Disable gthreads on Solaris 8/9 (PR libstdc++/52189)
PR libstdc++/52189 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle --enable-libstdcxx-threads. Disable on Solaris 8/9 with symbol versioning. * configure.ac (GLIBCXX_CHECK_GTHREADS): Move after GLIBCXX_ENABLE_SYMVERS. * configure: Regenerate. * doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184335 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.ac')
-rw-r--r--libstdc++-v3/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index de5fe95b7e3..81b523f0342 100644
--- a/libstdc++-v3/configure.ac
+++ b/libstdc++-v3/configure.ac
@@ -165,9 +165,6 @@ GLIBCXX_CHECK_GETTIMEOFDAY
# NB: The default is [no], because otherwise it requires linking.
GLIBCXX_ENABLE_LIBSTDCXX_TIME([no])
-# For gthread support
-GLIBCXX_CHECK_GTHREADS
-
AC_LC_MESSAGES
# For hardware_concurrency
@@ -336,6 +333,9 @@ GLIBCXX_CONDITIONAL(GLIBCXX_LDBL_COMPAT, test $ac_ldbl_compat = yes)
# This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
GLIBCXX_CONFIGURE_TESTSUITE
+# For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
+GLIBCXX_CHECK_GTHREADS
+
# Define documentation rules conditionally.
# See if makeinfo has been installed and is modern enough