This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: fix configure --help output


I'm checking this in on the trunk as obvious.

config/tls.m4's GCC_CHECK_TLS was missing an argument in a call to
GCC_ENABLE.  This made the --help output look weird:

opsy. ~/gnu/Trunk/trunk/libgomp/configure --help|grep -i 'thread'
  _g_switchUse thread-local storage


This fixes the error.  I re-ran autoconf in all the affected
subdirectories.  The configure diffs aren't included here, but I
checked them for sanity.

Tom

Index: config/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

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

Index: libgomp/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.

Index: libstdc++-v3/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.

Index: libmudflap/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.

Index: libjava/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.

Index: config/tls.m4
===================================================================
--- config/tls.m4	(revision 117048)
+++ config/tls.m4	(working copy)
@@ -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; }],


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]