From e564ddd818cadbc60ade8bf297d05c2896894140 Mon Sep 17 00:00:00 2001
From: tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 19 Sep 2006 01:48:06 +0000
Subject: [PATCH] config 	* tls.m4 (GCC_CHECK_TLS): Pass empty argument
 as "help arg" to 	GCC_ENABLE. libgomp 	* configure: Rebuilt.
 libstdc++-v3 	* configure: Rebuilt. libmudflap 	* configure: Rebuilt.
 libjava 	* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117049 138bc75d-0d04-0410-961f-82ee72b054a4
---
 config/ChangeLog       | 5 +++++
 config/tls.m4          | 2 +-
 libgomp/ChangeLog      | 4 ++++
 libgomp/configure      | 7 +++----
 libjava/ChangeLog      | 4 ++++
 libjava/configure      | 7 +++----
 libmudflap/ChangeLog   | 4 ++++
 libmudflap/configure   | 5 ++---
 libstdc++-v3/ChangeLog | 4 ++++
 libstdc++-v3/configure | 9 ++++-----
 10 files changed, 34 insertions(+), 17 deletions(-)

diff --git a/config/ChangeLog b/config/ChangeLog
index 3c3343b0623f..fa855c0afa27 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -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
diff --git a/config/tls.m4 b/config/tls.m4
index 5cbb6854f6c7..b7a07309abe4 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; }],
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 5a5f3030e096..9dc9e31078fe 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-18  Tom Tromey  <tromey@redhat.com>
+
+	* configure: Rebuilt.
+
 2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
 
 	PR c/28768
diff --git a/libgomp/configure b/libgomp/configure
index f14cb657ade4..f01acbfd96b3 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -865,8 +865,7 @@ Optional Features:
   --disable-libtool-lock  avoid locking (might break parallel builds)
   --enable-maintainer-mode  enable make rules and dependencies not useful
 			  (and sometimes confusing) to the casual installer
-  _g_switchUse thread-local storage
-                          [default=yes]
+  --enable-tls            Use thread-local storage [default=yes]
   --enable-symvers=STYLE  enables symbol versioning of the shared library
                           [default=yes]
 
@@ -4228,7 +4227,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 4231 "configure"' > conftest.$ac_ext
+  echo '#line 4230 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -4638,7 +4637,7 @@ fi
 
 
 # Provide some information about the compiler.
-echo "$as_me:4641:" \
+echo "$as_me:4640:" \
      "checking for Fortran compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 82872f77a1fb..92cbfb7cbad3 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-18  Tom Tromey  <tromey@redhat.com>
+
+	* configure: Rebuilt.
+
 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
 
 	* configure.host: Handle kfreebsd.
diff --git a/libjava/configure b/libjava/configure
index f53b34810ab5..17dda7c065d1 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -877,8 +877,7 @@ Optional Features:
   --disable-jvmpi         disable JVMPI support
   --enable-java-gc=TYPE   choose garbage collector (default is boehm)
   --disable-rpath         do not hardcode runtime library paths
-  _g_switchUse thread-local storage
-                          [default=yes]
+  --enable-tls            Use thread-local storage [default=yes]
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -5876,7 +5875,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5879 "configure"' > conftest.$ac_ext
+  echo '#line 5878 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -6879,7 +6878,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then
   :
 else
   cat > conftest.$ac_ext << EOF
-#line 6882 "configure"
+#line 6881 "configure"
 struct S { ~S(); };
 void bar();
 void foo()
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog
index ea2c6f660f83..4890660a7934 100644
--- a/libmudflap/ChangeLog
+++ b/libmudflap/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-18  Tom Tromey  <tromey@redhat.com>
+
+	* configure: Rebuilt.
+
 2006-06-21  Frank Ch. Eigler  <fche@redhat.com>
 
 	PR 21274
diff --git a/libmudflap/configure b/libmudflap/configure
index fd5ba708d375..ed7cb8f02012 100755
--- a/libmudflap/configure
+++ b/libmudflap/configure
@@ -850,8 +850,7 @@ Optional Features:
   --enable-static=PKGS  build static libraries default=yes
   --enable-fast-install=PKGS  optimize for fast installation default=yes
   --disable-libtool-lock  avoid locking (might break parallel builds)
-  _g_switchUse thread-local storage
-                          [default=yes]
+  --enable-tls            Use thread-local storage [default=yes]
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -5850,7 +5849,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5853 "configure"' > conftest.$ac_ext
+  echo '#line 5852 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 984ded41708d..505266b3be69 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-18  Tom Tromey  <tromey@redhat.com>
+
+	* configure: Rebuilt.
+
 2006-09-18  Paolo Carlini  <pcarlini@suse.de>
 
 	* include/bits/locale_facets.tcc (_M_group_int): Remove
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 0050af38a225..c4185e73e7b7 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -887,8 +887,7 @@ Optional Features:
   --enable-fully-dynamic-string
                           do not put empty strings in per-process static
                           memory [default=no]
-  _g_switchUse thread-local storage
-                          [default=yes]
+  --enable-tls            Use thread-local storage [default=yes]
   --enable-symvers=STYLE  enables symbol versioning of the shared library
                           [default=yes]
   --enable-visibility     enables visibility safe usage [default=yes]
@@ -4733,7 +4732,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 4736 "configure"' > conftest.$ac_ext
+  echo '#line 4735 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -5353,7 +5352,7 @@ fi;
     #
     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
     cat > conftest.$ac_ext << EOF
-#line 5356 "configure"
+#line 5355 "configure"
 struct S { ~S(); };
 void bar();
 void foo()
@@ -8009,7 +8008,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
     cat > conftest.$ac_ext << EOF
-#line 8012 "configure"
+#line 8011 "configure"
 int main()
 {
   // NB: _Atomic_word not necessarily int.
-- 
GitLab