This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Patch: FYI: fix configure --help output
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, libstdc <libstdc++ at gcc dot gnu dot org>
- Date: 18 Sep 2006 19:33:43 -0600
- Subject: Patch: FYI: fix configure --help output
- Reply-to: tromey at redhat dot com
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; }],