aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-10-02 18:03:18 +0000
committerTom Tromey <tromey@redhat.com>2006-10-02 18:03:18 +0000
commit98c5f827eaee19319e3ee496481e67142086e131 (patch)
treea4b7d58d212a1d2a8f9235e2f84751191fa5bc0b /config
parent4303612646e5a024e76919ceb58d447b85fe56a6 (diff)
downloadgdb-98c5f827eaee19319e3ee496481e67142086e131.zip
gdb-98c5f827eaee19319e3ee496481e67142086e131.tar.gz
gdb-98c5f827eaee19319e3ee496481e67142086e131.tar.bz2
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/tls.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index bf0c5d6..c5e044f 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -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
diff --git a/config/tls.m4 b/config/tls.m4
index 5cbb685..b7a0730 100644
--- a/config/tls.m4
+++ b/config/tls.m4
@@ -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; }],