Commit b88ecf55 by Andreas Schwab Committed by Andreas Schwab

configure.ac: Use AS_HELP_STRING throughout.

* configure.ac: Use AS_HELP_STRING throughout.
* configure: Regenerate.

From-SVN: r173724
parent e6e9475b
2011-05-13 Andreas Schwab <schwab@redhat.com>
* configure.ac: Use AS_HELP_STRING throughout.
* configure: Regenerate.
2011-05-12 H.J. Lu <hongjiu.lu@intel.com> 2011-05-12 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_save_reg): Change maybe_eh_return * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return
......
...@@ -1555,24 +1555,24 @@ Optional Features: ...@@ -1555,24 +1555,24 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-generated-files-in-srcdir --enable-generated-files-in-srcdir
put copies of generated files in source dir put copies of generated files in source dir intended
intended for creating source tarballs for users for creating source tarballs for users without
without texinfo bison or flex. texinfo bison or flex
--disable-largefile omit support for large files --disable-largefile omit support for large files
--enable-werror-always enable -Werror despite compiler version --enable-werror-always enable -Werror despite compiler version
--enable-checking=LIST --enable-checking[=LIST]
enable expensive run-time checks. With LIST, enable expensive run-time checks. With LIST, enable
enable only specific categories of checks. only specific categories of checks. Categories are:
Categories are: yes,no,all,none,release. yes,no,all,none,release. Flags are:
Flags are: assert,df,fold,gc,gcac,gimple,misc, assert,df,fold,gc,gcac,gimple,misc,
rtlflag,rtl,runtime,tree,valgrind,types. rtlflag,rtl,runtime,tree,valgrind,types
--enable-coverage=LEVEL --enable-coverage[=LEVEL]
enable compiler's code coverage collection. enable compiler's code coverage collection. Use to
Use to measure compiler performance and locate measure compiler performance and locate unused parts
unused parts of the compiler. With LEVEL, specify of the compiler. With LEVEL, specify optimization.
optimization. Values are opt, noopt, Values are opt, noopt, default is noopt
default is noopt --enable-gather-detailed-mem-stats
--enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering enable detailed memory allocation stats gathering
--enable-build-with-cxx build with C++ compiler instead of C compiler --enable-build-with-cxx build with C++ compiler instead of C compiler
--enable-multilib enable library support for multiple ABIs --enable-multilib enable library support for multiple ABIs
--enable-__cxa_atexit enable __cxa_atexit for C++ --enable-__cxa_atexit enable __cxa_atexit for C++
...@@ -1581,12 +1581,12 @@ Optional Features: ...@@ -1581,12 +1581,12 @@ Optional Features:
or 'dpd' choses which decimal floating point format or 'dpd' choses which decimal floating point format
to use to use
--enable-fixed-point enable fixed-point arithmetic extension to C --enable-fixed-point enable fixed-point arithmetic extension to C
--enable-threads enable thread usage for target GCC --enable-threads[=LIB] enable thread usage for target GCC, using LIB thread
--enable-threads=LIB use LIB thread package for target GCC package
--enable-tls enable or disable generation of tls code --enable-tls enable or disable generation of tls code overriding
overriding the assembler check for tls support the assembler check for tls support
--enable-objc-gc enable the use of Boehm's garbage collector with --enable-objc-gc enable the use of Boehm's garbage collector with the
the GNU Objective-C runtime GNU Objective-C runtime
--disable-shared don't provide a shared libgcc --disable-shared don't provide a shared libgcc
--enable-languages=LIST specify which front-ends to build --enable-languages=LIST specify which front-ends to build
--disable-rpath do not hardcode runtime library paths --disable-rpath do not hardcode runtime library paths
...@@ -1595,12 +1595,13 @@ Optional Features: ...@@ -1595,12 +1595,13 @@ Optional Features:
arrange to use setjmp/longjmp exception handling arrange to use setjmp/longjmp exception handling
--enable-secureplt enable -msecure-plt by default for PowerPC --enable-secureplt enable -msecure-plt by default for PowerPC
--enable-leading-mingw64-underscores --enable-leading-mingw64-underscores
Enable leading underscores on 64 bit mingw targets enable leading underscores on 64 bit mingw targets
--enable-cld enable -mcld by default for 32bit x86 --enable-cld enable -mcld by default for 32bit x86
--enable-frame-pointer enable -fno-omit-frame-pointer by default for 32bit x86 --enable-frame-pointer enable -fno-omit-frame-pointer by default for 32bit
x86
--disable-win32-registry --disable-win32-registry
disable lookup of installation paths in the disable lookup of installation paths in the Registry
Registry on Windows hosts on Windows hosts
--enable-win32-registry enable registry lookup (default) --enable-win32-registry enable registry lookup (default)
--enable-win32-registry=KEY --enable-win32-registry=KEY
use KEY instead of GCC version as the last portion use KEY instead of GCC version as the last portion
...@@ -1620,11 +1621,11 @@ Optional Features: ...@@ -1620,11 +1621,11 @@ Optional Features:
--enable-linker-build-id --enable-linker-build-id
compiler will always pass --build-id to linker compiler will always pass --build-id to linker
--enable-maintainer-mode --enable-maintainer-mode
enable make rules and dependencies not useful enable make rules and dependencies not useful (and
(and sometimes confusing) to the casual installer sometimes confusing) to the casual installer
--enable-version-specific-runtime-libs --enable-version-specific-runtime-libs
specify that runtime libraries should be specify that runtime libraries should be installed
installed in a compiler-specific directory in a compiler-specific directory
--enable-plugin enable plugin support --enable-plugin enable plugin support
--disable-libquadmath-support --disable-libquadmath-support
disable libquadmath support for Fortran disable libquadmath support for Fortran
...@@ -1639,20 +1640,20 @@ Optional Packages: ...@@ -1639,20 +1640,20 @@ Optional Packages:
--with-cpp-install-dir=DIR --with-cpp-install-dir=DIR
install the user visible C preprocessor in DIR install the user visible C preprocessor in DIR
(relative to PREFIX) as well as PREFIX/bin (relative to PREFIX) as well as PREFIX/bin
--with-gnu-ld arrange to work with GNU ld. --with-gnu-ld arrange to work with GNU ld
--with-ld arrange to use the specified ld (full pathname) --with-ld arrange to use the specified ld (full pathname)
--with-demangler-in-ld try to use demangler in GNU ld. --with-demangler-in-ld try to use demangler in GNU ld
--with-gnu-as arrange to work with GNU as --with-gnu-as arrange to work with GNU as
--with-as arrange to use the specified as (full pathname) --with-as arrange to use the specified as (full pathname)
--with-stabs arrange to use stabs instead of host debug format --with-stabs arrange to use stabs instead of host debug format
--with-dwarf2 force the default debug format to be DWARF 2 --with-dwarf2 force the default debug format to be DWARF 2
--with-build-sysroot=sysroot --with-build-sysroot=sysroot
use sysroot as the system root during the build use sysroot as the system root during the build
--with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR. --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR
--with-specs=SPECS add SPECS to driver command-line processing --with-specs=SPECS add SPECS to driver command-line processing
--with-pkgversion=PKG Use PKG in the version string in place of "GCC" --with-pkgversion=PKG Use PKG in the version string in place of "GCC"
--with-bugurl=URL Direct users to URL to report a bug --with-bugurl=URL Direct users to URL to report a bug
--with-multilib-list Select multilibs (SH only) --with-multilib-list select multilibs (SH only)
--with-gnu-ld assume the C compiler uses GNU ld default=no --with-gnu-ld assume the C compiler uses GNU ld default=no
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir --without-libiconv-prefix don't search for libiconv in includedir and libdir
...@@ -1661,9 +1662,9 @@ Optional Packages: ...@@ -1661,9 +1662,9 @@ Optional Packages:
both] both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-plugin-ld=[ARG] specify the plugin linker --with-plugin-ld=[ARG] specify the plugin linker
--with-long-double-128 Use 128-bit long double by default. --with-long-double-128 use 128-bit long double by default
--with-gc={page,zone} choose the garbage collection mechanism to use --with-gc={page,zone} choose the garbage collection mechanism to use with
with the compiler the compiler
--with-system-zlib use installed libz --with-system-zlib use installed libz
--with-slibdir=DIR shared libraries in DIR [LIBDIR] --with-slibdir=DIR shared libraries in DIR [LIBDIR]
--with-linker-hash-style={sysv,gnu,both} --with-linker-hash-style={sysv,gnu,both}
...@@ -6959,7 +6960,6 @@ _ACEOF ...@@ -6959,7 +6960,6 @@ _ACEOF
# Check whether --enable-fixed-point was given. # Check whether --enable-fixed-point was given.
if test "${enable_fixed_point+set}" = set; then : if test "${enable_fixed_point+set}" = set; then :
enableval=$enable_fixed_point; enableval=$enable_fixed_point;
else else
case $target in case $target in
......
...@@ -105,7 +105,8 @@ fi ...@@ -105,7 +105,8 @@ fi
# Specify the local prefix # Specify the local prefix
local_prefix= local_prefix=
AC_ARG_WITH(local-prefix, AC_ARG_WITH(local-prefix,
[ --with-local-prefix=DIR specifies directory to put local include], [AS_HELP_STRING([--with-local-prefix=DIR],
[specifies directory to put local include])],
[case "${withval}" in [case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} given for local include directory prefix) ;; yes) AC_MSG_ERROR(bad value ${withval} given for local include directory prefix) ;;
no) ;; no) ;;
...@@ -123,8 +124,8 @@ fi ...@@ -123,8 +124,8 @@ fi
gcc_gxx_include_dir= gcc_gxx_include_dir=
# Specify the g++ header file directory # Specify the g++ header file directory
AC_ARG_WITH(gxx-include-dir, AC_ARG_WITH(gxx-include-dir,
[ --with-gxx-include-dir=DIR [AS_HELP_STRING([--with-gxx-include-dir=DIR],
specifies directory to put g++ header files], [specifies directory to put g++ header files])],
[case "${withval}" in [case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} given for g++ include directory) ;; yes) AC_MSG_ERROR(bad value ${withval} given for g++ include directory) ;;
no) ;; no) ;;
...@@ -145,9 +146,9 @@ if test x${gcc_gxx_include_dir} = x; then ...@@ -145,9 +146,9 @@ if test x${gcc_gxx_include_dir} = x; then
fi fi
AC_ARG_WITH(cpp_install_dir, AC_ARG_WITH(cpp_install_dir,
[ --with-cpp-install-dir=DIR [AC_HELP_STRING([--with-cpp-install-dir=DIR],
install the user visible C preprocessor in DIR [install the user visible C preprocessor in DIR
(relative to PREFIX) as well as PREFIX/bin], (relative to PREFIX) as well as PREFIX/bin])],
[if test x$withval = xyes; then [if test x$withval = xyes; then
AC_MSG_ERROR([option --with-cpp-install-dir requires an argument]) AC_MSG_ERROR([option --with-cpp-install-dir requires an argument])
elif test x$withval != xno; then elif test x$withval != xno; then
...@@ -163,10 +164,10 @@ fi]) ...@@ -163,10 +164,10 @@ fi])
AC_MSG_CHECKING([whether to place generated files in the source directory]) AC_MSG_CHECKING([whether to place generated files in the source directory])
dnl generated-files-in-srcdir is disabled by default dnl generated-files-in-srcdir is disabled by default
AC_ARG_ENABLE(generated-files-in-srcdir, AC_ARG_ENABLE(generated-files-in-srcdir,
[ --enable-generated-files-in-srcdir [AS_HELP_STRING([--enable-generated-files-in-srcdir],
put copies of generated files in source dir [put copies of generated files in source dir
intended for creating source tarballs for users intended for creating source tarballs for users
without texinfo bison or flex.], without texinfo bison or flex])],
generated_files_in_srcdir=$enableval, generated_files_in_srcdir=$enableval,
generated_files_in_srcdir=no) generated_files_in_srcdir=no)
...@@ -185,13 +186,13 @@ AC_SUBST(GENINSRC) ...@@ -185,13 +186,13 @@ AC_SUBST(GENINSRC)
# With GNU ld # With GNU ld
AC_ARG_WITH(gnu-ld, AC_ARG_WITH(gnu-ld,
[ --with-gnu-ld arrange to work with GNU ld.], [AS_HELP_STRING([--with-gnu-ld], [arrange to work with GNU ld])],
gnu_ld_flag="$with_gnu_ld", gnu_ld_flag="$with_gnu_ld",
gnu_ld_flag=no) gnu_ld_flag=no)
# With pre-defined ld # With pre-defined ld
AC_ARG_WITH(ld, AC_ARG_WITH(ld,
[ --with-ld arrange to use the specified ld (full pathname)], [AS_HELP_STRING([--with-ld], [arrange to use the specified ld (full pathname)])],
DEFAULT_LINKER="$with_ld") DEFAULT_LINKER="$with_ld")
if test x"${DEFAULT_LINKER+set}" = x"set"; then if test x"${DEFAULT_LINKER+set}" = x"set"; then
if test ! -x "$DEFAULT_LINKER"; then if test ! -x "$DEFAULT_LINKER"; then
...@@ -219,7 +220,7 @@ fi ...@@ -219,7 +220,7 @@ fi
# With demangler in GNU ld # With demangler in GNU ld
AC_ARG_WITH(demangler-in-ld, AC_ARG_WITH(demangler-in-ld,
[ --with-demangler-in-ld try to use demangler in GNU ld.], [AS_HELP_STRING([--with-demangler-in-ld], [try to use demangler in GNU ld])],
demangler_in_ld="$with_demangler_in_ld", demangler_in_ld="$with_demangler_in_ld",
demangler_in_ld=no) demangler_in_ld=no)
...@@ -229,12 +230,12 @@ demangler_in_ld=no) ...@@ -229,12 +230,12 @@ demangler_in_ld=no)
# With GNU as # With GNU as
AC_ARG_WITH(gnu-as, AC_ARG_WITH(gnu-as,
[ --with-gnu-as arrange to work with GNU as], [AS_HELP_STRING([--with-gnu-as], [arrange to work with GNU as])],
gas_flag="$with_gnu_as", gas_flag="$with_gnu_as",
gas_flag=no) gas_flag=no)
AC_ARG_WITH(as, AC_ARG_WITH(as,
[ --with-as arrange to use the specified as (full pathname)], [AS_HELP_STRING([--with-as], [arrange to use the specified as (full pathname)])],
DEFAULT_ASSEMBLER="$with_as") DEFAULT_ASSEMBLER="$with_as")
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
if test ! -x "$DEFAULT_ASSEMBLER"; then if test ! -x "$DEFAULT_ASSEMBLER"; then
...@@ -359,12 +360,12 @@ if test x"`cat $srcdir/DEV-PHASE`" != xexperimental; then ...@@ -359,12 +360,12 @@ if test x"`cat $srcdir/DEV-PHASE`" != xexperimental; then
fi fi
AC_ARG_ENABLE(checking, AC_ARG_ENABLE(checking,
[ --enable-checking[=LIST] [AS_HELP_STRING([[--enable-checking[=LIST]]],
enable expensive run-time checks. With LIST, [enable expensive run-time checks. With LIST,
enable only specific categories of checks. enable only specific categories of checks.
Categories are: yes,no,all,none,release. Categories are: yes,no,all,none,release.
Flags are: assert,df,fold,gc,gcac,gimple,misc, Flags are: assert,df,fold,gc,gcac,gimple,misc,
rtlflag,rtl,runtime,tree,valgrind,types.], rtlflag,rtl,runtime,tree,valgrind,types])],
[ac_checking_flags="${enableval}"],[ [ac_checking_flags="${enableval}"],[
# Determine the default checks. # Determine the default checks.
if test x$is_release = x ; then if test x$is_release = x ; then
...@@ -547,12 +548,12 @@ AC_SUBST(valgrind_command) ...@@ -547,12 +548,12 @@ AC_SUBST(valgrind_command)
# Enable code coverage collection # Enable code coverage collection
AC_ARG_ENABLE(coverage, AC_ARG_ENABLE(coverage,
[ --enable-coverage[=LEVEL] [AS_HELP_STRING([[--enable-coverage[=LEVEL]]],
enable compiler's code coverage collection. [enable compiler's code coverage collection.
Use to measure compiler performance and locate Use to measure compiler performance and locate
unused parts of the compiler. With LEVEL, specify unused parts of the compiler. With LEVEL, specify
optimization. Values are opt, noopt, optimization. Values are opt, noopt,
default is noopt], default is noopt])],
[case "${enableval}" in [case "${enableval}" in
yes|noopt) yes|noopt)
coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0" coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0"
...@@ -572,7 +573,8 @@ esac], ...@@ -572,7 +573,8 @@ esac],
AC_SUBST(coverage_flags) AC_SUBST(coverage_flags)
AC_ARG_ENABLE(gather-detailed-mem-stats, AC_ARG_ENABLE(gather-detailed-mem-stats,
[ --enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering], [], [AS_HELP_STRING([--enable-gather-detailed-mem-stats],
[enable detailed memory allocation stats gathering])], [],
[enable_gather_detailed_mem_stats=no]) [enable_gather_detailed_mem_stats=no])
if test x$enable_gather_detailed_mem_stats = xyes ; then if test x$enable_gather_detailed_mem_stats = xyes ; then
AC_DEFINE(GATHER_STATISTICS, 1, AC_DEFINE(GATHER_STATISTICS, 1,
...@@ -585,7 +587,8 @@ fi ...@@ -585,7 +587,8 @@ fi
# See if we are building gcc with C++. # See if we are building gcc with C++.
AC_ARG_ENABLE(build-with-cxx, AC_ARG_ENABLE(build-with-cxx,
[ --enable-build-with-cxx build with C++ compiler instead of C compiler], [AS_HELP_STRING([--enable-build-with-cxx],
[build with C++ compiler instead of C compiler])],
ENABLE_BUILD_WITH_CXX=$enableval, ENABLE_BUILD_WITH_CXX=$enableval,
ENABLE_BUILD_WITH_CXX=no) ENABLE_BUILD_WITH_CXX=no)
AC_SUBST(ENABLE_BUILD_WITH_CXX) AC_SUBST(ENABLE_BUILD_WITH_CXX)
...@@ -596,19 +599,21 @@ fi ...@@ -596,19 +599,21 @@ fi
# With stabs # With stabs
AC_ARG_WITH(stabs, AC_ARG_WITH(stabs,
[ --with-stabs arrange to use stabs instead of host debug format], [AS_HELP_STRING([--with-stabs],
[arrange to use stabs instead of host debug format])],
stabs="$with_stabs", stabs="$with_stabs",
stabs=no) stabs=no)
# Determine whether or not multilibs are enabled. # Determine whether or not multilibs are enabled.
AC_ARG_ENABLE(multilib, AC_ARG_ENABLE(multilib,
[ --enable-multilib enable library support for multiple ABIs], [AS_HELP_STRING([--enable-multilib],
[enable library support for multiple ABIs])],
[], [enable_multilib=yes]) [], [enable_multilib=yes])
AC_SUBST(enable_multilib) AC_SUBST(enable_multilib)
# Enable __cxa_atexit for C++. # Enable __cxa_atexit for C++.
AC_ARG_ENABLE(__cxa_atexit, AC_ARG_ENABLE(__cxa_atexit,
[ --enable-__cxa_atexit enable __cxa_atexit for C++], [AS_HELP_STRING([--enable-__cxa_atexit], [enable __cxa_atexit for C++])],
[], []) [], [])
# Enable C extension for decimal float if target supports it. # Enable C extension for decimal float if target supports it.
...@@ -628,9 +633,9 @@ point format instead of DPD]) ...@@ -628,9 +633,9 @@ point format instead of DPD])
# Enable C extension for fixed-point arithmetic. # Enable C extension for fixed-point arithmetic.
AC_ARG_ENABLE(fixed-point, AC_ARG_ENABLE(fixed-point,
[ --enable-fixed-point enable fixed-point arithmetic extension to C], [AS_HELP_STRING([--enable-fixed-point],
[ [enable fixed-point arithmetic extension to C])],
], [],
[ [
case $target in case $target in
mips*-*-*) mips*-*-*)
...@@ -660,13 +665,15 @@ AC_DEFINE_UNQUOTED(ENABLE_FIXED_POINT, $fixedpoint, ...@@ -660,13 +665,15 @@ AC_DEFINE_UNQUOTED(ENABLE_FIXED_POINT, $fixedpoint,
# Pass with no value to take the default # Pass with no value to take the default
# Pass with a value to specify a thread package # Pass with a value to specify a thread package
AC_ARG_ENABLE(threads, AC_ARG_ENABLE(threads,
[ --enable-threads enable thread usage for target GCC [AS_HELP_STRING([[--enable-threads[=LIB]]],
--enable-threads=LIB use LIB thread package for target GCC],, [enable thread usage for target GCC,
using LIB thread package])],,
[enable_threads='']) [enable_threads=''])
AC_ARG_ENABLE(tls, AC_ARG_ENABLE(tls,
[ --enable-tls enable or disable generation of tls code [AS_HELP_STRING([--enable-tls],
overriding the assembler check for tls support], [enable or disable generation of tls code
overriding the assembler check for tls support])],
[ [
case $enable_tls in case $enable_tls in
yes | no) ;; yes | no) ;;
...@@ -676,8 +683,9 @@ Valid choices are 'yes' and 'no'.]) ;; ...@@ -676,8 +683,9 @@ Valid choices are 'yes' and 'no'.]) ;;
], [enable_tls='']) ], [enable_tls=''])
AC_ARG_ENABLE(objc-gc, AC_ARG_ENABLE(objc-gc,
[ --enable-objc-gc enable the use of Boehm's garbage collector with [AS_HELP_STRING([--enable-objc-gc],
the GNU Objective-C runtime], [enable the use of Boehm's garbage collector with
the GNU Objective-C runtime])],
if test x$enable_objc_gc = xno; then if test x$enable_objc_gc = xno; then
objc_boehm_gc='' objc_boehm_gc=''
else else
...@@ -686,12 +694,12 @@ fi, ...@@ -686,12 +694,12 @@ fi,
objc_boehm_gc='') objc_boehm_gc='')
AC_ARG_WITH(dwarf2, AC_ARG_WITH(dwarf2,
[ --with-dwarf2 force the default debug format to be DWARF 2], [AS_HELP_STRING([--with-dwarf2], [force the default debug format to be DWARF 2])],
dwarf2="$with_dwarf2", dwarf2="$with_dwarf2",
dwarf2=no) dwarf2=no)
AC_ARG_ENABLE(shared, AC_ARG_ENABLE(shared,
[ --disable-shared don't provide a shared libgcc], [AS_HELP_STRING([--disable-shared], [don't provide a shared libgcc])],
[ [
case $enable_shared in case $enable_shared in
yes | no) ;; yes | no) ;;
...@@ -710,11 +718,12 @@ AC_ARG_ENABLE(shared, ...@@ -710,11 +718,12 @@ AC_ARG_ENABLE(shared,
AC_SUBST(enable_shared) AC_SUBST(enable_shared)
AC_ARG_WITH(build-sysroot, AC_ARG_WITH(build-sysroot,
[ --with-build-sysroot=sysroot [AS_HELP_STRING([--with-build-sysroot=sysroot],
use sysroot as the system root during the build]) [use sysroot as the system root during the build])])
AC_ARG_WITH(sysroot, AC_ARG_WITH(sysroot,
[ --with-sysroot[=DIR] Search for usr/lib, usr/include, et al, within DIR.], [AS_HELP_STRING([[--with-sysroot[=DIR]]],
[search for usr/lib, usr/include, et al, within DIR])],
[ [
case ${with_sysroot} in case ${with_sysroot} in
yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_noncanonical}/sys-root' ;; yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_noncanonical}/sys-root' ;;
...@@ -766,7 +775,7 @@ ACX_BUGURL([http://gcc.gnu.org/bugs.html]) ...@@ -766,7 +775,7 @@ ACX_BUGURL([http://gcc.gnu.org/bugs.html])
# Sanity check enable_languages in case someone does not run the toplevel # Sanity check enable_languages in case someone does not run the toplevel
# configure # script. # configure # script.
AC_ARG_ENABLE(languages, AC_ARG_ENABLE(languages,
[ --enable-languages=LIST specify which front-ends to build], [AS_HELP_STRING([--enable-languages=LIST], [specify which front-ends to build])],
[case ,${enable_languages}, in [case ,${enable_languages}, in
,,|,yes,) ,,|,yes,)
# go safe -- we cannot be much sure without the toplevel # go safe -- we cannot be much sure without the toplevel
...@@ -786,7 +795,7 @@ esac], ...@@ -786,7 +795,7 @@ esac],
[enable_languages=c]) [enable_languages=c])
AC_ARG_WITH(multilib-list, AC_ARG_WITH(multilib-list,
[ --with-multilib-list Select multilibs (SH only)], [AS_HELP_STRING([--with-multilib-list], [select multilibs (SH only)])],
:, :,
with_multilib_list=default) with_multilib_list=default)
...@@ -1138,8 +1147,8 @@ AC_SUBST(objext) ...@@ -1138,8 +1147,8 @@ AC_SUBST(objext)
# With Setjmp/Longjmp based exception handling. # With Setjmp/Longjmp based exception handling.
AC_ARG_ENABLE(sjlj-exceptions, AC_ARG_ENABLE(sjlj-exceptions,
[ --enable-sjlj-exceptions [AS_HELP_STRING([--enable-sjlj-exceptions],
arrange to use setjmp/longjmp exception handling], [arrange to use setjmp/longjmp exception handling])],
[case $target in [case $target in
*-*-hpux10*) *-*-hpux10*)
if test $enableval != yes; then if test $enableval != yes; then
...@@ -1526,23 +1535,25 @@ case "$LIBINTL" in *$LIBICONV*) ...@@ -1526,23 +1535,25 @@ case "$LIBINTL" in *$LIBICONV*)
esac esac
AC_ARG_ENABLE(secureplt, AC_ARG_ENABLE(secureplt,
[ --enable-secureplt enable -msecure-plt by default for PowerPC], [AS_HELP_STRING([--enable-secureplt],
[enable -msecure-plt by default for PowerPC])],
[], []) [], [])
AC_ARG_ENABLE(leading-mingw64-underscores, AC_ARG_ENABLE(leading-mingw64-underscores,
AS_HELP_STRING([--enable-leading-mingw64-underscores], AS_HELP_STRING([--enable-leading-mingw64-underscores],
[Enable leading underscores on 64 bit mingw targets]), [enable leading underscores on 64 bit mingw targets]),
[],[]) [],[])
AS_IF([ test x"$enable_leading_mingw64_underscores" = xyes ], AS_IF([ test x"$enable_leading_mingw64_underscores" = xyes ],
[AC_DEFINE(USE_MINGW64_LEADING_UNDERSCORES, 1, [AC_DEFINE(USE_MINGW64_LEADING_UNDERSCORES, 1,
[Define if we should use leading underscore on 64 bit mingw targets])]) [Define if we should use leading underscore on 64 bit mingw targets])])
AC_ARG_ENABLE(cld, AC_ARG_ENABLE(cld,
[ --enable-cld enable -mcld by default for 32bit x86], [], [AS_HELP_STRING([--enable-cld], [enable -mcld by default for 32bit x86])], [],
[enable_cld=no]) [enable_cld=no])
AC_ARG_ENABLE(frame-pointer, AC_ARG_ENABLE(frame-pointer,
[ --enable-frame-pointer enable -fno-omit-frame-pointer by default for 32bit x86], [], [AS_HELP_STRING([--enable-frame-pointer],
[enable -fno-omit-frame-pointer by default for 32bit x86])], [],
[ [
case $target_os in case $target_os in
linux* | darwin[[8912]]*) linux* | darwin[[8912]]*)
...@@ -1558,13 +1569,13 @@ esac ...@@ -1558,13 +1569,13 @@ esac
# Windows32 Registry support for specifying GCC installation paths. # Windows32 Registry support for specifying GCC installation paths.
AC_ARG_ENABLE(win32-registry, AC_ARG_ENABLE(win32-registry,
[ --disable-win32-registry [AS_HELP_STRING([--disable-win32-registry],
disable lookup of installation paths in the [disable lookup of installation paths in the
Registry on Windows hosts Registry on Windows hosts])
--enable-win32-registry enable registry lookup (default) AS_HELP_STRING([--enable-win32-registry], [enable registry lookup (default)])
--enable-win32-registry=KEY AS_HELP_STRING([--enable-win32-registry=KEY],
use KEY instead of GCC version as the last portion [use KEY instead of GCC version as the last portion
of the registry key],,) of the registry key])],,)
case $host_os in case $host_os in
win32 | pe | cygwin* | mingw32* | uwin*) win32 | pe | cygwin* | mingw32* | uwin*)
...@@ -1947,7 +1958,7 @@ fi]) ...@@ -1947,7 +1958,7 @@ fi])
ORIGINAL_PLUGIN_LD_FOR_TARGET=$gcc_cv_ld ORIGINAL_PLUGIN_LD_FOR_TARGET=$gcc_cv_ld
PLUGIN_LD=`basename $gcc_cv_ld` PLUGIN_LD=`basename $gcc_cv_ld`
AC_ARG_WITH(plugin-ld, AC_ARG_WITH(plugin-ld,
[ --with-plugin-ld=[[ARG]] specify the plugin linker], [AS_HELP_STRING([[--with-plugin-ld=[ARG]]], [specify the plugin linker])],
[if test x"$withval" != x; then [if test x"$withval" != x; then
ORIGINAL_PLUGIN_LD_FOR_TARGET="$withval" ORIGINAL_PLUGIN_LD_FOR_TARGET="$withval"
PLUGIN_LD="$withval" PLUGIN_LD="$withval"
...@@ -4287,8 +4298,8 @@ if test x"$gcc_cv_ld_buildid" = xyes; then ...@@ -4287,8 +4298,8 @@ if test x"$gcc_cv_ld_buildid" = xyes; then
fi fi
AC_ARG_ENABLE(linker-build-id, AC_ARG_ENABLE(linker-build-id,
[ --enable-linker-build-id [AS_HELP_STRING([--enable-linker-build-id],
compiler will always pass --build-id to linker], [compiler will always pass --build-id to linker])],
[], [],
enable_linker_build_id=no) enable_linker_build_id=no)
...@@ -4429,7 +4440,8 @@ case "$target" in ...@@ -4429,7 +4440,8 @@ case "$target" in
s390*-*-linux* | \ s390*-*-linux* | \
alpha*-*-linux*) alpha*-*-linux*)
AC_ARG_WITH(long-double-128, AC_ARG_WITH(long-double-128,
[ --with-long-double-128 Use 128-bit long double by default.], [AS_HELP_STRING([--with-long-double-128],
[use 128-bit long double by default])],
gcc_cv_target_ldbl128="$with_long_double_128", gcc_cv_target_ldbl128="$with_long_double_128",
[[gcc_cv_target_ldbl128=no [[gcc_cv_target_ldbl128=no
grep '^[ ]*#[ ]*define[ ][ ]*__LONG_DOUBLE_MATH_OPTIONAL' \ grep '^[ ]*#[ ]*define[ ][ ]*__LONG_DOUBLE_MATH_OPTIONAL' \
...@@ -4466,8 +4478,9 @@ AC_MSG_RESULT($gcc_cv_target_dl_iterate_phdr) ...@@ -4466,8 +4478,9 @@ AC_MSG_RESULT($gcc_cv_target_dl_iterate_phdr)
# Find out what GC implementation we want, or may, use. # Find out what GC implementation we want, or may, use.
AC_ARG_WITH(gc, AC_ARG_WITH(gc,
[ --with-gc={page,zone} choose the garbage collection mechanism to use [AS_HELP_STRING([--with-gc={page,zone}],
with the compiler], [choose the garbage collection mechanism to use
with the compiler])],
[case "$withval" in [case "$withval" in
page) page)
GGC=ggc-$withval GGC=ggc-$withval
...@@ -4495,7 +4508,7 @@ AC_SUBST(HOST_LIBS) ...@@ -4495,7 +4508,7 @@ AC_SUBST(HOST_LIBS)
zlibdir=-L../zlib zlibdir=-L../zlib
zlibinc="-I\$(srcdir)/../zlib" zlibinc="-I\$(srcdir)/../zlib"
AC_ARG_WITH(system-zlib, AC_ARG_WITH(system-zlib,
[ --with-system-zlib use installed libz], [AS_HELP_STRING([--with-system-zlib], [use installed libz])],
zlibdir= zlibdir=
zlibinc= zlibinc=
) )
...@@ -4507,9 +4520,9 @@ dnl Very limited version of automake's enable-maintainer-mode ...@@ -4507,9 +4520,9 @@ dnl Very limited version of automake's enable-maintainer-mode
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
dnl maintainer-mode is disabled by default dnl maintainer-mode is disabled by default
AC_ARG_ENABLE(maintainer-mode, AC_ARG_ENABLE(maintainer-mode,
[ --enable-maintainer-mode [AS_HELP_STRING([--enable-maintainer-mode],
enable make rules and dependencies not useful [enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer], (and sometimes confusing) to the casual installer])],
maintainer_mode=$enableval, maintainer_mode=$enableval,
maintainer_mode=no) maintainer_mode=no)
...@@ -4714,12 +4727,12 @@ AC_SUBST(dollar) ...@@ -4714,12 +4727,12 @@ AC_SUBST(dollar)
# Find a directory in which to install a shared libgcc. # Find a directory in which to install a shared libgcc.
AC_ARG_ENABLE(version-specific-runtime-libs, AC_ARG_ENABLE(version-specific-runtime-libs,
[ --enable-version-specific-runtime-libs [AS_HELP_STRING([--enable-version-specific-runtime-libs],
specify that runtime libraries should be [specify that runtime libraries should be
installed in a compiler-specific directory]) installed in a compiler-specific directory])])
AC_ARG_WITH(slibdir, AC_ARG_WITH(slibdir,
[ --with-slibdir=DIR shared libraries in DIR [[LIBDIR]]], [AS_HELP_STRING([--with-slibdir=DIR], [shared libraries in DIR @<:@LIBDIR@:>@])],
slibdir="$with_slibdir", slibdir="$with_slibdir",
if test "${enable_version_specific_runtime_libs+set}" = set; then if test "${enable_version_specific_runtime_libs+set}" = set; then
slibdir='$(libsubdir)' slibdir='$(libsubdir)'
...@@ -4827,7 +4840,7 @@ fi ...@@ -4827,7 +4840,7 @@ fi
# Check for plugin support # Check for plugin support
AC_ARG_ENABLE(plugin, AC_ARG_ENABLE(plugin,
[ --enable-plugin enable plugin support], [AS_HELP_STRING([--enable-plugin], [enable plugin support])],
enable_plugin=$enableval, enable_plugin=$enableval,
enable_plugin=yes; default_plugin=yes) enable_plugin=yes; default_plugin=yes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment