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 /libcpp/configure | |
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 'libcpp/configure')
-rwxr-xr-x | libcpp/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpp/configure b/libcpp/configure index 0ada4e9..7ea42c5 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -4693,7 +4693,7 @@ for real_option in -W -Wall -Wno-narrowing -Wwrite-strings \ # 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` @@ -4739,7 +4739,7 @@ for real_option in -Wstrict-prototypes -Wmissing-prototypes \ # 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` @@ -4824,7 +4824,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` |