[kaffe] CVS kaffe (dalibor): Use AS_HELP_STRING to pretty-print help strings
Kaffe CVS
cvs-commits at kaffe.org
Mon Mar 15 11:24:03 PST 2004
PatchSet 4523
Date: 2004/03/15 19:08:45
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Use AS_HELP_STRING to pretty-print help strings
2004-03-15 Dalibor Topic <robilad at kaffe.org>
* configure.in:
Use AS_HELP_STRING for pretty help strings.
* configure:
Regenerated.
Members:
ChangeLog:1.2101->1.2102
configure:1.293->1.294
configure.in:1.258->1.259
libltdl/config-h.in:1.14->1.15
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2101 kaffe/ChangeLog:1.2102
--- kaffe/ChangeLog:1.2101 Mon Mar 15 17:54:46 2004
+++ kaffe/ChangeLog Mon Mar 15 19:08:45 2004
@@ -1,5 +1,13 @@
2004-03-15 Dalibor Topic <robilad at kaffe.org>
+ * configure.in:
+ Use AS_HELP_STRING for pretty help strings.
+
+ * configure:
+ Regenerated.
+
+2004-03-15 Dalibor Topic <robilad at kaffe.org>
+
* libraries/clib/awt/X/fnt.c:
Define variables only used without I18N support
only when I18N support is turned off.
Index: kaffe/configure
diff -u kaffe/configure:1.293 kaffe/configure:1.294
--- kaffe/configure:1.293 Thu Mar 11 11:56:41 2004
+++ kaffe/configure Mon Mar 15 19:08:47 2004
@@ -1069,10 +1069,9 @@
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths
- --enable-debug Enable run-time debugging machinery [default=yes]
- --disable-debug Disable assertion checking (but not -g)]
+ --enable-debug Enable run-time debugging machinery
+ [default=yes]
--enable-jvmpi Enable JVMPI [default=no]
- --disable-jvmpi Disable JVMPI]
--enable-xprofiling Enable profiling for C and jitted code
--enable-xdebugging Enable debugging symbol generation for jitted code
--enable-feedback Enable generation of feedback data
@@ -1082,7 +1081,8 @@
--disable-alsatest Do not try to compile and run a test Alsa program
--disable-esdtest Do not try to compile and run a test ESD program
--disable-sound Disable javax.sound support
- --enable-pure-java-math Enable pure java java.math.* package [default=native]
+ --enable-pure-java-math Enable pure java java.math.* package
+ [default=native]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1090,7 +1090,8 @@
--with-includes=dirs Search specified directories for header files
--with-libraries=dirs Search for libraries in specified directories
--with-staticlib Force the use of static libraries rather than shared
- --with-staticbin Force the creation of a static virtual machine binary
+ --with-staticbin Force the creation of a static virtual machine
+ binary
--with-staticvm Force the creation of a static virtual machine
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
@@ -1102,33 +1103,39 @@
--without-libiconv-prefix don't search for libiconv in includedir and libdir
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir
- --with-engine=ENGINE Force use given execution engine (intrp, jit, or jit3)
+ --with-engine=ENGINE Force use given execution engine (intrp, jit, or
+ jit3)
--with-bcel=<jar> Use the specified Bytecode Engineering Jar file.
- --with-dnsjava=<jar> Use the specified DNS java Jar file.
+ --with-dnsjava=<jar> Use the specified DNS java Jar file.
--with-profiling Compile with gprof(1) profiling support
--without-suncompat Don't include Sun compatibility scripts
- --with-threads=SYSTEM Define which threading system to use [default=unix-jthreads]
- --with-jikes=JIKES Define to use jikes compiler [default=no]
+ --with-threads=SYSTEM Define which threading system to use
+ [default=unix-jthreads]
+ --with-jikes<=JIKES> Define to use jikes compiler [default=no]
--with-libffi Use libffi for sysdepCallMethod
--with-x use the X Window System
--with-stats Gather statistics on vm execution
- --with-awt=GRAPHICSYS specify AWT engine (no, X, qt)
+ --with-awt=GRAPHICSYS specify AWT engine (no, X, qt)
--with-qtdir=DIR Qt installation directory default=$QTDIR
--with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)
--with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)
--with-esd-prefix=PFX Prefix where ESD is installed (optional)
--with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
- --without-alsa Don't use ALSA for sound default is to use it if present
- --without-esd Don't use esd for sound default is to use it if present
- --with-extensions the extensions (like the servlet API) to include [default=none]
+ --without-alsa Don't use ALSA for sound
+ default, is, to, use, it, if, present
+ --without-esd Don't use esd for sound
+ default, is, to, use, it, if, present
+ --with-extensions the extensions (like the servlet API) to include
+ [default=none]
--with-dmalloc use dmalloc, as in
http://www.dmalloc.com/dmalloc.tar.gz
--with-gnu-crypto path to GNU Crypto install directory. if
unspecified, /usr/local/gnu-crypto, /usr/local,
/usr, /opt/gnu-crypto, and /opt are considered, in
that order
- --with-class-library-profile=PROFILE specify class library profile
- --with-rt-jar=ABS.PATH use precompiled kaffe class library
+ --with-class-library-profile=PROFILE
+ specify class library profile
+ --with-rt-jar=ABS.PATH use precompiled kaffe class library
Some influential environment variables:
CC C compiler command
@@ -3762,6 +3769,7 @@
withval="$with_staticlib"
fi;
+
if test x"$with_staticlib" = x"yes" ; then
dynamic_libraries=no
if test x"${with_staticvm+set}" != x"set"; then
@@ -3775,6 +3783,7 @@
withval="$with_staticbin"
fi;
+
if test x"$with_staticbin" = x"yes" ; then
vm_dynamic_binary=no
if test x"${with_staticvm+set}" != x"set"; then
@@ -3788,6 +3797,7 @@
withval="$with_staticvm"
fi;
+
if test x"$with_staticvm" = x"yes" ; then
vm_dynamic_library=no
fi
@@ -4394,7 +4404,7 @@
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4397 "configure"' > conftest.$ac_ext
+ echo '#line 4407 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5744,7 +5754,7 @@
# Provide some information about the compiler.
-echo "$as_me:5747:" \
+echo "$as_me:5757:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -6782,11 +6792,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6785: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6795: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6789: \$? = $ac_status" >&5
+ echo "$as_me:6799: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -7015,11 +7025,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7018: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7028: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7022: \$? = $ac_status" >&5
+ echo "$as_me:7032: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -7075,11 +7085,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7078: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7088: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:7082: \$? = $ac_status" >&5
+ echo "$as_me:7092: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -9259,7 +9269,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 9262 "configure"
+#line 9272 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -9357,7 +9367,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 9360 "configure"
+#line 9370 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11540,11 +11550,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11543: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11553: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11547: \$? = $ac_status" >&5
+ echo "$as_me:11557: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -11600,11 +11610,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11603: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11613: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:11607: \$? = $ac_status" >&5
+ echo "$as_me:11617: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -12961,7 +12971,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12964 "configure"
+#line 12974 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13059,7 +13069,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 13062 "configure"
+#line 13072 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13886,11 +13896,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13889: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13899: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13893: \$? = $ac_status" >&5
+ echo "$as_me:13903: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -13946,11 +13956,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13949: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13959: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13953: \$? = $ac_status" >&5
+ echo "$as_me:13963: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -15984,11 +15994,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15987: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15997: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15991: \$? = $ac_status" >&5
+ echo "$as_me:16001: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -16217,11 +16227,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:16220: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16230: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:16224: \$? = $ac_status" >&5
+ echo "$as_me:16234: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -16277,11 +16287,11 @@
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:16280: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16290: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:16284: \$? = $ac_status" >&5
+ echo "$as_me:16294: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -18461,7 +18471,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 18464 "configure"
+#line 18474 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18559,7 +18569,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 18562 "configure"
+#line 18572 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -21717,6 +21727,7 @@
enableval="$enable_debug"
fi;
+
case "$enable_debug" in
no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
*) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
@@ -21750,6 +21761,7 @@
enableval="$enable_jvmpi"
fi;
+
case "$enable_jvmpi" in
"") ;;
no) ;;
@@ -21805,6 +21817,7 @@
enableval="$enable_xprofiling"
fi;
+
if test "x$NOSIGCONTEXT" = "xtrue"; then
echo "XProfiling does not support Cygwin"
enable_xprofiling=no
@@ -21843,6 +21856,7 @@
enableval="$enable_xdebugging"
fi;
+
case "$enable_xdebugging" in
"") ;;
no) ;;
@@ -21857,6 +21871,7 @@
enableval="$enable_feedback"
fi;
+
case "$enable_feedback" in
"") ;;
no) ;;
@@ -21900,6 +21915,7 @@
withval="$with_suncompat"
fi;
+
echo "$as_me:$LINENO: checking sun compatibility mode" >&5
echo $ECHO_N "checking sun compatibility mode... $ECHO_C" >&6
if test x"${with_suncompat+set}" != x"set" ; then
@@ -21925,6 +21941,7 @@
withval="$with_threads"
fi;
+
echo "$as_me:$LINENO: checking thread system" >&5
echo $ECHO_N "checking thread system... $ECHO_C" >&6
if test x"$with_threads" = x"" ; then
@@ -21986,6 +22003,7 @@
else
JIKES=""
fi;
+
echo "$as_me:$LINENO: checking whether to use jikes" >&5
echo $ECHO_N "checking whether to use jikes... $ECHO_C" >&6
@@ -25549,6 +25567,7 @@
withval="$with_libffi"
fi;
+
if test x"$with_libffi" = x"yes" ; then
KSAVE_LIBS="$LIBS"
LIBS="$VM_LIBS $KSAVE_LIBS"
@@ -38443,6 +38462,7 @@
enableval="$enable_gcj"
fi;
+
echo "$as_me:$LINENO: checking whether to enable GCJ support" >&5
echo $ECHO_N "checking whether to enable GCJ support... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $enable_gcj" >&5
@@ -38465,6 +38485,7 @@
enableval="$enable_mips2"
fi;
+
echo "$as_me:$LINENO: checking whether to enable MIPS II instructions" >&5
echo $ECHO_N "checking whether to enable MIPS II instructions... $ECHO_C" >&6
if test x"$enable_mips2" != x"no"; then
@@ -38484,6 +38505,7 @@
enableval="$enable_pxa"
fi;
+
echo "$as_me:$LINENO: checking whether to enable PXA/XScale support" >&5
echo $ECHO_N "checking whether to enable PXA/XScale support... $ECHO_C" >&6
if test x"$enable_pxa" != x"no"; then
@@ -47259,6 +47281,7 @@
withval="$with_extensions"
fi;
+
echo "$as_me:$LINENO: checking which extensions to include" >&5
echo $ECHO_N "checking which extensions to include... $ECHO_C" >&6
Index: kaffe/configure.in
diff -u kaffe/configure.in:1.258 kaffe/configure.in:1.259
--- kaffe/configure.in:1.258 Thu Mar 11 11:56:45 2004
+++ kaffe/configure.in Mon Mar 15 19:08:53 2004
@@ -58,14 +58,16 @@
dnl Allow specification of header-file and library directories
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(includes,
- [ --with-includes=dirs Search specified directories for header files],
+AC_ARG_WITH([includes],
+ AS_HELP_STRING([--with-includes=dirs],
+ [Search specified directories for header files]),
[ CPPFLAGS="$CPPFLAGS"`echo " $withval" |
sed -e 's/ / -I/g' -e 's/-I //g' -e 's/-I$//'` ],
[ CPPFLAGS="$CPPFLAGS" ])
-AC_ARG_WITH(libraries,
- [ --with-libraries=dirs Search for libraries in specified directories],
+AC_ARG_WITH([libraries],
+ AS_HELP_STRING([--with-libraries=dirs],
+ [Search for libraries in specified directories]),
[ CTLIBS="$CTLIBS"`echo " $withval" |
sed -e 's/ / -L/g' -e 's/-L //g' -e 's/-L$//'`
LTLIBS="$LTLIBS"`echo " $withval" |
@@ -106,7 +108,10 @@
dnl Force use of static libraries
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(staticlib,[ --with-staticlib Force the use of static libraries rather than shared])
+AC_ARG_WITH([staticlib],
+ AS_HELP_STRING([--with-staticlib],
+ [Force the use of static libraries rather than shared]))
+
if test x"$with_staticlib" = x"yes" ; then
dynamic_libraries=no
if test x"${with_staticvm+set}" != x"set"; then
@@ -114,7 +119,10 @@
fi
fi
-AC_ARG_WITH(staticbin,[ --with-staticbin Force the creation of a static virtual machine binary])
+AC_ARG_WITH([staticbin],
+ AS_HELP_STRING([--with-staticbin],
+ [Force the creation of a static virtual machine binary]))
+
if test x"$with_staticbin" = x"yes" ; then
vm_dynamic_binary=no
if test x"${with_staticvm+set}" != x"set"; then
@@ -122,7 +130,10 @@
fi
fi
-AC_ARG_WITH(staticvm,[ --with-staticvm Force the creation of a static virtual machine])
+AC_ARG_WITH([staticvm],
+ AS_HELP_STRING([--with-staticvm],
+ [Force the creation of a static virtual machine]))
+
if test x"$with_staticvm" = x"yes" ; then
vm_dynamic_library=no
fi
@@ -258,7 +269,9 @@
dnl Allow selection of a specific execution engine
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(engine,[ --with-engine=ENGINE Force use given execution engine (intrp, jit, or jit3)])
+AC_ARG_WITH([engine],
+ AS_HELP_STRING([--with-engine=ENGINE],
+ [Force use given execution engine (intrp, jit, or jit3)]))
dnl Translate 'interpreter' to 'intrp'
if test x"$with_engine" = x"interpreter" ; then
@@ -344,8 +357,10 @@
dnl Allow selection of debugging mechanisms
dnl -------------------------------------------------------------------------
-AC_ARG_ENABLE(debug,[ --enable-debug Enable run-time debugging machinery @<:@default=yes@:>@]
- --disable-debug Disable assertion checking (but not -g)])
+AC_ARG_ENABLE([debug],
+ AS_HELP_STRING([--enable-debug],
+ [Enable run-time debugging machinery @<:@default=yes@:>@]))
+
case "$enable_debug" in
no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
*) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
@@ -355,8 +370,9 @@
dnl Allow user to specify a bcel.jar file for class file testing.
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(bcel,
- [ --with-bcel=<jar> Use the specified Bytecode Engineering Jar file.],
+AC_ARG_WITH([bcel],
+ AS_HELP_STRING([--with-bcel=<jar>],
+ [Use the specified Bytecode Engineering Jar file.]),
[ BCEL_JAR="$withval" ],
[ BCEL_JAR="" ])
@@ -367,8 +383,10 @@
dnl Allow activation of jvmpi
dnl -------------------------------------------------------------------------
-AC_ARG_ENABLE(jvmpi,[ --enable-jvmpi Enable JVMPI @<:@default=no@:>@]
- --disable-jvmpi Disable JVMPI])
+AC_ARG_ENABLE([jvmpi],
+ AS_HELP_STRING([--enable-jvmpi],
+ [Enable JVMPI @<:@default=no@:>@]))
+
case "$enable_jvmpi" in
"") ;;
no) ;;
@@ -385,8 +403,9 @@
dnl Allow user to specify a dnsjava.jar file for class file testing.
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(dnsjava,
- [ --with-dnsjava=<jar> Use the specified DNS java Jar file.],
+AC_ARG_WITH([dnsjava],
+ AS_HELP_STRING([--with-dnsjava=<jar>],
+ [Use the specified DNS java Jar file.]),
[ DNSJAVA_JAR="$withval" ],
[ DNSJAVA_JAR="" ])
@@ -399,7 +418,10 @@
need_libxprof=no
-AC_ARG_ENABLE(xprofiling,[ --enable-xprofiling Enable profiling for C and jitted code])
+AC_ARG_ENABLE([xprofiling],
+ AS_HELP_STRING([--enable-xprofiling],
+ [Enable profiling for C and jitted code]))
+
if test "x$NOSIGCONTEXT" = "xtrue"; then
echo "XProfiling does not support Cygwin"
enable_xprofiling=no
@@ -426,7 +448,10 @@
dnl Allow support for debugging of C/jitted code
dnl -------------------------------------------------------------------------
-AC_ARG_ENABLE(xdebugging,[ --enable-xdebugging Enable debugging symbol generation for jitted code])
+AC_ARG_ENABLE([xdebugging],
+ AS_HELP_STRING([--enable-xdebugging],
+ [Enable debugging symbol generation for jitted code]))
+
case "$enable_xdebugging" in
"") ;;
no) ;;
@@ -439,7 +464,10 @@
dnl Allow generation feedback data
dnl -------------------------------------------------------------------------
-AC_ARG_ENABLE(feedback,[ --enable-feedback Enable generation of feedback data])
+AC_ARG_ENABLE([feedback],
+ AS_HELP_STRING([--enable-feedback],
+ [Enable generation of feedback data]))
+
case "$enable_feedback" in
"") ;;
no) ;;
@@ -452,7 +480,9 @@
dnl Allow enabling of profiling
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(profiling,[ --with-profiling Compile with gprof(1) profiling support])
+AC_ARG_WITH([profiling],
+ AS_HELP_STRING([--with-profiling],
+ [Compile with gprof(1) profiling support]))
AC_MSG_CHECKING(gprof(4) profiling support)
if test x"${with_profiling}" = x"yes" ; then
@@ -467,7 +497,10 @@
dnl Do we include our Sun compatibility scripts?
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(suncompat,[ --without-suncompat Don't include Sun compatibility scripts])
+AC_ARG_WITH([suncompat],
+ AS_HELP_STRING([--without-suncompat],
+ [Don't include Sun compatibility scripts]))
+
AC_MSG_CHECKING(sun compatibility mode)
if test x"${with_suncompat+set}" != x"set" ; then
with_suncompat=yes
@@ -479,7 +512,10 @@
dnl Use the new internal threading system "jthreads"
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(threads,[ --with-threads=SYSTEM Define which threading system to use @<:@default=unix-jthreads@:>@])
+AC_ARG_WITH([threads],
+ AS_HELP_STRING([--with-threads=SYSTEM],
+ [Define which threading system to use @<:@default=unix-jthreads@:>@]))
+
AC_MSG_CHECKING(thread system)
if test x"$with_threads" = x"" ; then
with_threads=unix-jthreads
@@ -499,7 +535,12 @@
dnl =========================================================================
AC_CHECK_PROG(JIKESPROG, jikes, jikes)
-AC_ARG_WITH(jikes,[ --with-jikes[=JIKES] Define to use jikes compiler @<:@default=no@:>@],[JIKES="$withval"],[JIKES=""])
+AC_ARG_WITH([jikes],
+ AS_HELP_STRING([--with-jikes<=JIKES>],
+ [Define to use jikes compiler @<:@default=no@:>@]),
+ [JIKES="$withval"],
+ [JIKES=""])
+
AC_MSG_CHECKING([whether to use jikes])
case $with_jikes in
@@ -691,7 +732,10 @@
dnl If there is no native sysdepCallMethod, let's use libffi
-AC_ARG_WITH(libffi,[ --with-libffi Use libffi for sysdepCallMethod])
+AC_ARG_WITH([libffi],
+ AS_HELP_STRING([--with-libffi],
+ [Use libffi for sysdepCallMethod]))
+
if test x"$with_libffi" = x"yes" ; then
AC_CHECK_LIBRARY(ffi,ffi_call,VM_LIBS)
if test $ac_cv_lib_ffi_ffi_call = no; then
@@ -910,7 +954,9 @@
dnl Do we build a vm that collects statistics?
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(stats,[ --with-stats Gather statistics on vm execution])
+AC_ARG_WITH([stats],
+ AS_HELP_STRING([--with-stats],
+ [Gather statistics on vm execution]))
if test x"$with_stats" = x"yes" ; then
if test x"$have_rusage" = x"no" ; then
@@ -950,7 +996,10 @@
fi
fi
-AC_ARG_ENABLE(gcj,[ --enable-gcj Enable GCJ support])
+AC_ARG_ENABLE([gcj],
+ AS_HELP_STRING([--enable-gcj],
+ [Enable GCJ support]))
+
AC_MSG_CHECKING([whether to enable GCJ support])
AC_MSG_RESULT($enable_gcj)
AM_CONDITIONAL(HAVE_GCJ_SUPPORT, test x"$enable_gcj" = x"yes")
@@ -961,7 +1010,10 @@
dnl Do we disable MIPS LL/SC (MIPS II instructions)
dnl -------------------------------------------------------------------------
-AC_ARG_ENABLE(mips2, [ --disable-mips2 Disable MIPS II instructions])
+AC_ARG_ENABLE([mips2],
+ AS_HELP_STRING([--disable-mips2],
+ [Disable MIPS II instructions]))
+
AC_MSG_CHECKING([whether to enable MIPS II instructions])
if test x"$enable_mips2" != x"no"; then
AC_DEFINE([HAVE_MIPSII_INSTRUCTIONS], 1, [Enable MIPS II instructions])
@@ -974,7 +1026,10 @@
dnl Do we enable XScale(PXA)
dnl -------------------------------------------------------------------------
-AC_ARG_ENABLE(pxa, [ --enable-pxa Enable PXA/XScale support])
+AC_ARG_ENABLE([pxa],
+ AS_HELP_STRING([--enable-pxa],
+ [Enable PXA/XScale support]))
+
AC_MSG_CHECKING([whether to enable PXA/XScale support])
if test x"$enable_pxa" != x"no"; then
AC_DEFINE([HAVE_XSCALE], 1, [Enable PXA/XScale support])
@@ -1283,7 +1338,9 @@
dnl Configure AWT engine
dnl -------------------------------------------------------------------------
-AC_ARG_WITH(awt,[ --with-awt=GRAPHICSYS specify AWT engine (no, [X], qt)])
+AC_ARG_WITH([awt],
+ AS_HELP_STRING([--with-awt=GRAPHICSYS],
+ [specify AWT engine (no, [X], qt)]))
dnl If no AWT defined, choose an appropriate default.
if test x"$with_awt" = x"no" ; then
@@ -1363,7 +1420,9 @@
dnl Use alsa
dnl default is yes, if present.
-AC_ARG_WITH(alsa,[ --without-alsa Don't use ALSA for sound [default is to use it if present]])
+AC_ARG_WITH([alsa],
+ AS_HELP_STRING([--without-alsa],
+ [Don't use ALSA for sound [default is to use it if present]]))
case $with_alsa in
no)
@@ -1379,7 +1438,9 @@
dnl Use esd
dnl default is yes, if present.
-AC_ARG_WITH(esd,[ --without-esd Don't use esd for sound [default is to use it if present]])
+AC_ARG_WITH([esd],
+ AS_HELP_STRING([--without-esd],
+ [Don't use esd for sound [default is to use it if present]]))
case $with_esd in
no)
@@ -1395,7 +1456,9 @@
dnl Global sound setting
dnl No overrides --with-* settings
-AC_ARG_ENABLE(sound,[ --disable-sound Disable javax.sound support])
+AC_ARG_ENABLE([sound],
+ AS_HELP_STRING([--disable-sound],
+ [Disable javax.sound support]))
case "$enable_sound" in
no)
@@ -1415,8 +1478,9 @@
dnl Pure java imlementation of java.math.*
dnl -----------------------------------------------------------------------
-AC_ARG_ENABLE(pure_java_math,
-[ --enable-pure-java-math Enable pure java java.math.* package @<:@default=native@:>@],
+AC_ARG_ENABLE([pure_java_math],
+ AS_HELP_STRING([--enable-pure-java-math],
+ [Enable pure java java.math.* package @<:@default=native@:>@]),
[case "$enableval" in
yes)
pure_java_math=true
@@ -1458,8 +1522,10 @@
dnl Support selection of extensions
dnl -----------------------------------------------------------------------
-AC_ARG_WITH(extensions,
-[ --with-extensions the extensions (like the servlet API) to include @<:@default=none@:>@])
+AC_ARG_WITH([extensions],
+ AS_HELP_STRING([--with-extensions],
+ [the extensions (like the servlet API) to include @<:@default=none@:>@]))
+
AC_MSG_CHECKING([which extensions to include])
dnl ouch
@@ -1521,7 +1587,9 @@
dnl -----------------------------------------------------------------------
dnl Support for different class library profiles
dnl -----------------------------------------------------------------------
-AC_ARG_WITH(class_library_profile, [ --with-class-library-profile=PROFILE specify class library profile])
+AC_ARG_WITH([class_library_profile],
+ AS_HELP_STRING([--with-class-library-profile=PROFILE],
+ [specify class library profile]))
if test x"$with_class_library_profile" = x"" ; then
PROFILE=default
@@ -1535,7 +1603,9 @@
dnl -----------------------------------------------------------------------
dnl Support for using a precompiled class library
dnl -----------------------------------------------------------------------
-AC_ARG_WITH(rt_jar, [ --with-rt-jar=ABS.PATH use precompiled kaffe class library])
+AC_ARG_WITH([rt_jar],
+ AS_HELP_STRING([--with-rt-jar=ABS.PATH],
+ [use precompiled kaffe class library]))
case "$with_rt_jar" in
"")
Index: kaffe/libltdl/config-h.in
diff -u kaffe/libltdl/config-h.in:1.14 kaffe/libltdl/config-h.in:1.15
--- kaffe/libltdl/config-h.in:1.14 Mon Mar 15 14:19:45 2004
+++ kaffe/libltdl/config-h.in Mon Mar 15 19:08:54 2004
@@ -3,6 +3,9 @@
/* Define to 1 if you have the `argz_append' function. */
#undef HAVE_ARGZ_APPEND
+/* Define to 1 if you have the `argz_create_sep' function. */
+#undef HAVE_ARGZ_CREATE_SEP
+
/* Define to 1 if you have the <argz.h> header file. */
#undef HAVE_ARGZ_H
More information about the kaffe
mailing list