* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to

GCC_ENABLE.
This commit is contained in:
Tom Tromey 2006-10-02 18:03:18 +00:00
parent 5c9dda86e5
commit 2a441538f9
2 changed files with 6 additions and 1 deletions

View 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

View 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; }],