summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-12-20 17:01:29 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2011-12-20 17:01:29 +0000
commit976a155c800bdc3a30ae5041d094c23582012306 (patch)
tree49126c6db0666aad4c079a70194a6113d4c611e8 /libiberty
parent3d38152c9e55cd4a88cf25539b8751f4db1fd697 (diff)
downloadbinutils-redhat-976a155c800bdc3a30ae5041d094c23582012306.tar.gz
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rwxr-xr-xlibiberty/configure2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index cab1f97514..5633af078f 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * configure: Regenerate.
+
2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
* configure: Regenerate.
diff --git a/libiberty/configure b/libiberty/configure
index d26c8b5f5b..9bccb8e878 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`