* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
authorTom Tromey <tromey@redhat.com>
Mon, 2 Oct 2006 18:03:18 +0000 (18:03 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 2 Oct 2006 18:03:18 +0000 (18:03 +0000)
GCC_ENABLE.

config/ChangeLog
config/tls.m4

index bf0c5d6..c5e044f 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-18  Tom Tromey  <tromey@redhat.com>
+
+       * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
+       GCC_ENABLE.
+
 2006-07-25  Paolo Bonzini  <bonzini@gnu.org>
 
        PR build/26188
index 5cbb685..b7a0730 100644 (file)
@@ -1,6 +1,6 @@
 dnl Check whether the target supports 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],
                 have_tls, [
     AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],