Housekeeping patch configure.ac and gcc/configure.ac
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Sat Sep 19 08:52:00 GMT 2009
OK for trunk? Bootstrapped i686-pc-linux-gnu, tested by visually
inspecting configure --help output for toplevel and gcc.
This patch is purely a markup one (aligning --help output and consistent
error output) except for the configdirs assignment
which will trigger a portability issue in some vendor shells.
Thanks,
Ralf
ChangeLog:
2009-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Fix --help output markup.
Fix shell backquote portability issue in gold selection code.
* configure: Regenerate.
gcc/ChangeLog:
2009-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Fix --help output markup.
* configure: Regenerate.
diff --git a/configure.ac b/configure.ac
index 9ef6884..b53d4fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -270,7 +270,7 @@ case ${with_x} in
# We won't be able to build gdbtk without X.
enable_gdbtk=no
;;
- *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
+ *) echo "*** bad value \"${with_x}\" for --with-x flag; ignored" 1>&2 ;;
esac
# Some tools are only suitable for building in a "native" situation.
@@ -327,7 +327,7 @@ if test "${ENABLE_GOLD}" = "yes"; then
# Check for target supported by gold.
case "${target}" in
i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
- configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
+ configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
;;
esac
fi
@@ -1228,12 +1228,12 @@ have_mpc=no
# Specify a location for mpc
# check for this first so it ends up on the link line before mpfr.
-AC_ARG_WITH(mpc, [ --with-mpc=PATH specify prefix directory for installed MPC package.
+AC_ARG_WITH(mpc, [ --with-mpc=PATH specify prefix directory for installed MPC package.
Equivalent to --with-mpc-include=PATH/include
plus --with-mpc-lib=PATH/lib])
AC_ARG_WITH(mpc_include, [ --with-mpc-include=PATH
specify directory for installed MPC include files])
-AC_ARG_WITH(mpc_lib, [ --with-mpc-lib=PATH specify directory for the installed MPC library])
+AC_ARG_WITH(mpc_lib, [ --with-mpc-lib=PATH specify directory for the installed MPC library])
if test "x$with_mpc" != x; then
mpclibs="-L$with_mpc/lib -lmpc"
@@ -1445,7 +1445,7 @@ AC_ARG_WITH(host-libstdcxx, [ --with-host-libstdcxx=L Use linker arguments L to
case $with_host_libstdcxx in
no|yes)
- AC_MSG_ERROR([-with-host-libstdcxx needs an argument])
+ AC_MSG_ERROR([--with-host-libstdcxx needs an argument])
;;
esac
@@ -1462,7 +1462,7 @@ AC_SUBST(stage1_ldflags)
# Libraries to use for stage1 or when not bootstrapping.
AC_ARG_WITH(stage1-libs,
-[ -with-stage1-libs=LIBS Libraries for stage1],
+[ --with-stage1-libs=LIBS Libraries for stage1],
[if test "$withval" = "no" -o "$withval" = "yes"; then
stage1_libs=
else
diff --git a/gcc/configure.ac b/gcc/configure.ac
index ca6e3c2..d172c7d 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -608,9 +608,9 @@ AC_ARG_ENABLE(__cxa_atexit,
# Enable C extension for decimal float if target supports it.
AC_ARG_ENABLE(decimal-float,
[ --enable-decimal-float={no,yes,bid,dpd}
- enable decimal float extension to C. Selecting 'bid'
- or 'dpd' choses which decimal floating point format
- to use],
+ enable decimal float extension to C. Selecting 'bid'
+ or 'dpd' choses which decimal floating point format
+ to use],
[
case $enable_decimal_float in
yes | no | bid | dpd) ;;
More information about the Gcc-patches
mailing list