diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-07-17 16:08:36 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-07-17 16:08:36 +0100 |
commit | e7d5b5b9c426b3b2f64c49d8a0eac9ab9d3b0c57 (patch) | |
tree | 3bb7ca92478d5bad3d80cedd8b862f506231ef2c /config | |
parent | 2e687c2c8e28187f7b9b993e1c0921c9f98a65b5 (diff) | |
download | gcc-e7d5b5b9c426b3b2f64c49d8a0eac9ab9d3b0c57.zip gcc-e7d5b5b9c426b3b2f64c49d8a0eac9ab9d3b0c57.tar.gz gcc-e7d5b5b9c426b3b2f64c49d8a0eac9ab9d3b0c57.tar.bz2 |
re PR other/40784 (Revision 149725 caused autoconf warning in libstdc++)
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.
From-SVN: r149748
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 6 | ||||
-rw-r--r-- | config/tls.m4 | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 6f20dd8..6bd7bbf 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,9 @@ +2009-07-17 Joseph Myers <joseph@codesourcery.com> + + PR other/40784 + * tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to + AC_LINK_IFELSE. + 2009-07-16 Joseph Myers <joseph@codesourcery.com> * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when diff --git a/config/tls.m4 b/config/tls.m4 index e087068..099bdc2 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]) |