From fea778453b931067df16ffcaab24858a2063366b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 20 Dec 2011 17:01:29 +0000 Subject: config/: * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate. --- libiberty/ChangeLog | 4 ++++ libiberty/configure | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index cab1f975147..5633af078fc 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2011-12-20 Andreas Schwab + + * configure: Regenerate. + 2011-12-19 Andreas Schwab * configure: Regenerate. diff --git a/libiberty/configure b/libiberty/configure index d26c8b5f5ba..9bccb8e8781 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -3925,7 +3925,7 @@ for real_option in -W -Wall -Wwrite-strings -Wc++-compat \ # 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` -- cgit v1.2.1