From fb2c7eb56d674005464b8401e3f4a58c4147f76d Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Sat, 9 Nov 2002 07:59:02 +0000 Subject: [PATCH] Regenerate. (Logical change 1.22) --- configure | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 02162d92..54051f81 100644 --- a/configure +++ b/configure @@ -4194,6 +4194,39 @@ if test "${enable_debug+set}" = set; then enable_debug=yes fi; +if test "x$use__thread" != xno; then + echo "$as_me:$LINENO: checking for __thread" >&5 +echo $ECHO_N "checking for __thread... $ECHO_C" >&6 +if test "${libc_cv_gcc___thread+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat > conftest.c <<\EOF + __thread int a = 42; +EOF + if { ac_try='${CC-cc} $CFLAGS -c conftest.c >&5' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + libc_cv_gcc___thread=yes + else + libc_cv_gcc___thread=no + fi + rm -f conftest* +fi +echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5 +echo "${ECHO_T}$libc_cv_gcc___thread" >&6 + if test "$libc_cv_gcc___thread" = yes; then + cat >>confdefs.h <<\_ACEOF +#define HAVE___THREAD 1 +_ACEOF + + fi +else + libc_cv_gcc___thread=no +fi + CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" if test x$enable_debug == xyes; then CPPFLAGS="${CPPFLAGS} -DDEBUG" @@ -4211,7 +4244,6 @@ ARCH=`echo $target_arch | tr a-z A-Z` - ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure