aboutsummaryrefslogtreecommitdiff
path: root/config/tls.m4
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-07-30 19:43:16 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-07-30 19:43:16 +0000
commit5bb4d8dedf5ac57875bdcf0928a2bd9e128ee069 (patch)
tree32c11f210f4d688b0b600ee29967d4831e9b94af /config/tls.m4
parentfe79276ff1d1ebeed601f3b579f2c80193552b42 (diff)
downloadgdb-5bb4d8dedf5ac57875bdcf0928a2bd9e128ee069.zip
gdb-5bb4d8dedf5ac57875bdcf0928a2bd9e128ee069.tar.gz
gdb-5bb4d8dedf5ac57875bdcf0928a2bd9e128ee069.tar.bz2
config/
* extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand for Autoconf 2.62 or newer. * tls.m4 (GCC_CHECK_TLS): Fix m4 quotation. * no-executables.m4 (_AC_COMPILER_EXEEXT): Fix m4 quotation. * override.m4 (m4_copy_force, m4_rename_force): Provide macros if not defined. (AC_PREREQ): Use m4_copy_force. readline/examples/rlfe/ * configure.in: Correctly quote AC_PROGRAM_SOURCE definition.
Diffstat (limited to 'config/tls.m4')
-rw-r--r--config/tls.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/tls.m4 b/config/tls.m4
index 0ae6046..79cf382 100644
--- a/config/tls.m4
+++ b/config/tls.m4
@@ -11,8 +11,8 @@ AC_DEFUN([GCC_CHECK_TLS], [
chktls_save_LDFLAGS="$LDFLAGS"
LDFLAGS="-static $LDFLAGS"
AC_LINK_IFELSE([int main() { return 0; }],
- AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],
- [gcc_cv_have_tls=yes], [gcc_cv_have_tls=no],[]),
+ [AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],
+ [gcc_cv_have_tls=yes], [gcc_cv_have_tls=no],[])],
[gcc_cv_have_tls=yes])
LDFLAGS="$chktls_save_LDFLAGS"
if test $gcc_cv_have_tls = yes; then