mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 08:46:17 +08:00
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.
This commit is contained in:
parent
5c9dda86e5
commit
2a441538f9
@ -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>
|
2006-07-25 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
PR build/26188
|
PR build/26188
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
dnl Check whether the target supports TLS.
|
dnl Check whether the target supports TLS.
|
||||||
AC_DEFUN([GCC_CHECK_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],
|
AC_CACHE_CHECK([whether the target supports thread-local storage],
|
||||||
have_tls, [
|
have_tls, [
|
||||||
AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],
|
AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user