From 2a441538f983918c3fc0530c04435e0fb41770da Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 2 Oct 2006 18:03:18 +0000 Subject: [PATCH] * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to GCC_ENABLE. --- config/ChangeLog | 5 +++++ config/tls.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/ChangeLog b/config/ChangeLog index bf0c5d6df..c5e044f5a 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2006-09-18 Tom Tromey + + * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to + GCC_ENABLE. + 2006-07-25 Paolo Bonzini PR build/26188 diff --git a/config/tls.m4 b/config/tls.m4 index 5cbb6854f..b7a07309a 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; }],