summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-10 21:54:41 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-10 21:54:41 +0000
commit2cf9260fed736d58b913d6289dbe0c849d8a3414 (patch)
treea216fa29f73211c109c11aac58d04e044d31781f /libstdc++-v3/configure
parentd753ca1fedf49593c6b4620a197933e8ec877ad3 (diff)
downloadgcc-2cf9260fed736d58b913d6289dbe0c849d8a3414.tar.gz
2004-10-10 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/functexcept.h: Add guards. * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure10
1 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 530efa0c646..caf27b1b049 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -7753,17 +7753,23 @@ echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $target_thread_file" >&5
echo "${ECHO_T}$target_thread_file" >&6
- enable_thread=no
if test $target_thread_file != single; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_GTHR_DEFAULT 1
_ACEOF
- enable_thread=yes
fi
glibcxx_thread_h=gthr-$target_thread_file.h
+ gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
+ if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
+ enable_thread=yes
+ else
+ enable_thread=no
+ fi
+
+
# Check whether --enable-concept-checks or --disable-concept-checks was given.