diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-12-20 16:54:12 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2011-12-20 16:54:12 +0000 |
commit | 4a5e00ca50a3caf1757943aa9df793e4f2865547 (patch) | |
tree | 1baaac9fb8a134768b5e076a72a33d804018efd1 /gcc | |
parent | 36acc1a242b5ab2f9c29d45bca8bed2ab2a82218 (diff) | |
download | gcc-4a5e00ca50a3caf1757943aa9df793e4f2865547.zip gcc-4a5e00ca50a3caf1757943aa9df793e4f2865547.tar.gz gcc-4a5e00ca50a3caf1757943aa9df793e4f2865547.tar.bz2 |
warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call.
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
fixincludes/:
* configure: Regenerate.
gcc/:
* configure: Regenerate.
libcpp/:
* configure: Regenerate.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.
lto-plugin/:
* configure: Regenerate.
From-SVN: r182546
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rwxr-xr-x | gcc/configure | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dc47ebe..5135a67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-12-20 Andreas Schwab <schwab@linux-m68k.org> + + * configure: Regenerate. + 2011-12-20 Bernd Schmidt <bernds@codesourcery.com> PR middle-end/51200 diff --git a/gcc/configure b/gcc/configure index d7d952e..b17c30a 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4849,7 +4849,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; } -if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then +if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then have_gnat=yes else have_gnat=no @@ -6404,7 +6404,7 @@ for real_option in -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in - -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;; + -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; *) option=$real_option ;; esac as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` @@ -6449,7 +6449,7 @@ for real_option in -Wstrict-prototypes -Wmissing-prototypes; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in - -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;; + -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; *) option=$real_option ;; esac as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` @@ -6494,7 +6494,7 @@ for real_option in -Wmissing-format-attribute; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in - -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;; + -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; *) option=$real_option ;; esac as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` @@ -6539,7 +6539,7 @@ for real_option in -Wold-style-definition -Wc++-compat; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in - -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;; + -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; *) option=$real_option ;; esac as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` @@ -6647,7 +6647,7 @@ for real_option in -fno-exceptions -fno-rtti; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in - -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;; + -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; *) option=$real_option ;; esac as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` |