diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-17 15:08:36 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-17 15:08:36 +0000 |
commit | 0bad176afcce966b6175efee295a30c2711ee652 (patch) | |
tree | 3bb7ca92478d5bad3d80cedd8b862f506231ef2c /config/tls.m4 | |
parent | 3c337d709ecf3fd594da426d7f0a2cafb5b17d45 (diff) | |
download | gcc-0bad176afcce966b6175efee295a30c2711ee652.tar.gz |
PR other/40784
config:
* tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to
AC_LINK_IFELSE.
libjava:
* configure: Regenerate.
libstdc++-v3:
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/tls.m4')
-rw-r--r-- | config/tls.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/tls.m4 b/config/tls.m4 index e0870682d51..099bdc257a8 100644 --- a/config/tls.m4 +++ b/config/tls.m4 @@ -79,9 +79,9 @@ AC_DEFUN([GCC_CHECK_TLS], [ CFLAGS="-fPIC $CFLAGS" dnl If -shared works, test if TLS works in a shared library. AC_LINK_IFELSE([int f() { return 0; }], - AC_LINK_IFELSE([__thread int a; int b; int f() { return a = b; }], + [AC_LINK_IFELSE([__thread int a; int b; int f() { return a = b; }], [gcc_cv_have_tls=yes], - [gcc_cv_have_tls=no]), + [gcc_cv_have_tls=no])], [gcc_cv_have_tls=yes]) CFLAGS="$chktls_save_CFLAGS" LDFLAGS="$chktls_save_LDFLAGS"], [gcc_cv_have_tls=no]) |