tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.

config/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
	(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.

libgomp/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* configure: Regenerate following changes to ../config/tls.m4.

libjava/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* configure: Regenerate following changes to ../config/tls.m4.

libmudflap/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* configure: Regenerate following changes to ../config/tls.m4.

From-SVN: r129364
This commit is contained in:
Maciej W. Rozycki 2007-10-15 18:09:32 +00:00 committed by Maciej W. Rozycki
parent 1432b19f40
commit 3afcaaf4e9
8 changed files with 67 additions and 50 deletions

View file

@ -1,3 +1,8 @@
2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.
2007-10-03 Richard Sandiford <richard@codesourcery.com> 2007-10-03 Richard Sandiford <richard@codesourcery.com>
* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function. * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.

View file

@ -2,7 +2,7 @@ dnl Check whether the target supports TLS.
AC_DEFUN([GCC_CHECK_TLS], [ AC_DEFUN([GCC_CHECK_TLS], [
GCC_ENABLE(tls, yes, [], [Use thread-local storage]) GCC_ENABLE(tls, yes, [], [Use thread-local storage])
AC_CACHE_CHECK([whether the target supports thread-local storage], AC_CACHE_CHECK([whether the target supports thread-local storage],
have_tls, [ gcc_cv_have_tls, [
AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }], AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],
[dnl If the test case passed with dynamic linking, try again with [dnl If the test case passed with dynamic linking, try again with
dnl static linking, but only if static linking is supported (not dnl static linking, but only if static linking is supported (not
@ -11,10 +11,10 @@ AC_DEFUN([GCC_CHECK_TLS], [
LDFLAGS="-static $LDFLAGS" LDFLAGS="-static $LDFLAGS"
AC_LINK_IFELSE([int main() { return 0; }], AC_LINK_IFELSE([int main() { return 0; }],
AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }], AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],
[have_tls=yes], [have_tls=no],[]), [gcc_cv_have_tls=yes], [gcc_cv_have_tls=no],[]),
[have_tls=yes]) [gcc_cv_have_tls=yes])
LDFLAGS="$chktls_save_LDFLAGS" LDFLAGS="$chktls_save_LDFLAGS"
if test $have_tls = yes; then if test $gcc_cv_have_tls = yes; then
dnl So far, the binutils and the compiler support TLS. dnl So far, the binutils and the compiler support TLS.
dnl Also check whether the libc supports TLS, i.e. whether a variable dnl Also check whether the libc supports TLS, i.e. whether a variable
dnl with __thread linkage has a different address in different threads. dnl with __thread linkage has a different address in different threads.
@ -58,18 +58,18 @@ AC_DEFUN([GCC_CHECK_TLS], [
if (pthread_join (thread, &thread_retval)) if (pthread_join (thread, &thread_retval))
return 0; return 0;
return (a_in_other_thread == a_in_main_thread);])], return (a_in_other_thread == a_in_main_thread);])],
[have_tls=yes], [have_tls=no], []) [gcc_cv_have_tls=yes], [gcc_cv_have_tls=no], [])
CFLAGS="$chktls_save_CFLAGS" CFLAGS="$chktls_save_CFLAGS"
fi fi
fi], fi],
[have_tls=no], [gcc_cv_have_tls=no],
[dnl This is the cross-compiling case. Assume libc supports TLS if the [dnl This is the cross-compiling case. Assume libc supports TLS if the
dnl binutils and the compiler do. dnl binutils and the compiler do.
AC_LINK_IFELSE([__thread int a; int b; int main() { return a = b; }], AC_LINK_IFELSE([__thread int a; int b; int main() { return a = b; }],
[have_tls=yes], [have_tls=no]) [gcc_cv_have_tls=yes], [gcc_cv_have_tls=no])
] ]
)]) )])
if test "$enable_tls $have_tls" = "yes yes"; then if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
AC_DEFINE(HAVE_TLS, 1, AC_DEFINE(HAVE_TLS, 1,
[Define to 1 if the target supports thread-local storage.]) [Define to 1 if the target supports thread-local storage.])
fi]) fi])
@ -78,11 +78,11 @@ dnl Check whether the target assembler supports TLS.
AC_DEFUN([GCC_CHECK_CC_TLS], [ AC_DEFUN([GCC_CHECK_CC_TLS], [
GCC_ENABLE(tls, yes, [], [Use thread-local storage]) GCC_ENABLE(tls, yes, [], [Use thread-local storage])
AC_CACHE_CHECK([whether the target asssembler upports thread-local storage], AC_CACHE_CHECK([whether the target asssembler upports thread-local storage],
have_cc_tls, [ gcc_cv_have_cc_tls, [
AC_COMPILE_IFELSE([__thread int a; int b; int main() { return a = b; }], AC_COMPILE_IFELSE([__thread int a; int b; int main() { return a = b; }],
[have_cc_tls=yes], [have_cc_tls=no])] [gcc_cv_have_cc_tls=yes], [gcc_cv_have_cc_tls=no])]
)]) )])
if test "$enable_tls $have_cc_tls" = "yes yes"; then if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
AC_DEFINE(HAVE_CC_TLS, 1, AC_DEFINE(HAVE_CC_TLS, 1,
[Define to 1 if the target assembler supports thread-local storage.]) [Define to 1 if the target assembler supports thread-local storage.])
fi]) fi])

View file

@ -1,3 +1,7 @@
2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
* configure: Regenerate following changes to ../config/tls.m4.
2007-09-28 Jakub Jelinek <jakub@redhat.com> 2007-09-28 Jakub Jelinek <jakub@redhat.com>
* testsuite/libgomp.fortran/stack.f90: New test. * testsuite/libgomp.fortran/stack.f90: New test.

26
libgomp/configure vendored
View file

@ -16990,7 +16990,7 @@ fi;
echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
if test "${have_tls+set}" = set; then if test "${gcc_cv_have_tls+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
@ -17020,12 +17020,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
@ -17094,14 +17094,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
@ -17109,12 +17109,12 @@ else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
have_tls=yes gcc_cv_have_tls=yes
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$chktls_save_LDFLAGS" LDFLAGS="$chktls_save_LDFLAGS"
if test $have_tls = yes; then if test $gcc_cv_have_tls = yes; then
chktls_save_CFLAGS="$CFLAGS" chktls_save_CFLAGS="$CFLAGS"
thread_CFLAGS=failed thread_CFLAGS=failed
for flag in '' '-pthread' '-lpthread'; do for flag in '' '-pthread' '-lpthread'; do
@ -17222,14 +17222,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
@ -17242,14 +17242,14 @@ echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $have_tls" >&5 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
echo "${ECHO_T}$have_tls" >&6 echo "${ECHO_T}$gcc_cv_have_tls" >&6
if test "$enable_tls $have_tls" = "yes yes"; then if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_TLS 1 #define HAVE_TLS 1

View file

@ -1,3 +1,7 @@
2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
* configure: Regenerate following changes to ../config/tls.m4.
2007-09-17 Tom Tromey <tromey@redhat.com> 2007-09-17 Tom Tromey <tromey@redhat.com>
* defineclass.cc (MAJOR_1_6): New define. * defineclass.cc (MAJOR_1_6): New define.

26
libjava/configure vendored
View file

@ -27316,7 +27316,7 @@ fi;
echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
if test "${have_tls+set}" = set; then if test "${gcc_cv_have_tls+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
@ -27351,12 +27351,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
@ -27430,14 +27430,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
@ -27445,12 +27445,12 @@ else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
have_tls=yes gcc_cv_have_tls=yes
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$chktls_save_LDFLAGS" LDFLAGS="$chktls_save_LDFLAGS"
if test $have_tls = yes; then if test $gcc_cv_have_tls = yes; then
chktls_save_CFLAGS="$CFLAGS" chktls_save_CFLAGS="$CFLAGS"
thread_CFLAGS=failed thread_CFLAGS=failed
for flag in '' '-pthread' '-lpthread'; do for flag in '' '-pthread' '-lpthread'; do
@ -27563,14 +27563,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
@ -27583,14 +27583,14 @@ echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $have_tls" >&5 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
echo "${ECHO_T}$have_tls" >&6 echo "${ECHO_T}$gcc_cv_have_tls" >&6
if test "$enable_tls $have_tls" = "yes yes"; then if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_TLS 1 #define HAVE_TLS 1

View file

@ -1,3 +1,7 @@
2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
* configure: Regenerate following changes to ../config/tls.m4.
2007-07-26 Tom Tromey <tromey@redhat.com> 2007-07-26 Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.

26
libmudflap/configure vendored
View file

@ -12024,7 +12024,7 @@ fi;
echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
if test "${have_tls+set}" = set; then if test "${gcc_cv_have_tls+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
@ -12054,12 +12054,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
@ -12128,14 +12128,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
@ -12143,12 +12143,12 @@ else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
have_tls=yes gcc_cv_have_tls=yes
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$chktls_save_LDFLAGS" LDFLAGS="$chktls_save_LDFLAGS"
if test $have_tls = yes; then if test $gcc_cv_have_tls = yes; then
chktls_save_CFLAGS="$CFLAGS" chktls_save_CFLAGS="$CFLAGS"
thread_CFLAGS=failed thread_CFLAGS=failed
for flag in '' '-pthread' '-lpthread'; do for flag in '' '-pthread' '-lpthread'; do
@ -12256,14 +12256,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
have_tls=yes gcc_cv_have_tls=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
@ -12276,14 +12276,14 @@ echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
have_tls=no gcc_cv_have_tls=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $have_tls" >&5 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
echo "${ECHO_T}$have_tls" >&6 echo "${ECHO_T}$gcc_cv_have_tls" >&6
if test "$enable_tls $have_tls" = "yes yes"; then if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_TLS 1 #define HAVE_TLS 1