Patch: FYI: fix configure --help output
Tom Tromey
tromey@redhat.com
Tue Sep 19 01:40:00 GMT 2006
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; }],
More information about the Java-patches
mailing list