summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ChangeLog5
-rw-r--r--config/warnings.m42
-rw-r--r--libdecnumber/ChangeLog4
-rwxr-xr-xlibdecnumber/configure2
-rw-r--r--libiberty/ChangeLog4
-rwxr-xr-xlibiberty/configure2
6 files changed, 16 insertions, 3 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 2d06a8d6bea..1087ad8ca91 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
+ expr call.
+
2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
diff --git a/config/warnings.m4 b/config/warnings.m4
index 292e5a471a7..b64b594e627 100644
--- a/config/warnings.m4
+++ b/config/warnings.m4
@@ -32,7 +32,7 @@ for real_option in $1; 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_VAR_PUSHDEF([acx_Woption], [acx_cv_prog_cc_warning_$option])
diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog
index 93dfee6d46f..ec3de316b99 100644
--- a/libdecnumber/ChangeLog
+++ b/libdecnumber/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/libdecnumber/configure b/libdecnumber/configure
index 5032a174f09..2b586848516 100755
--- a/libdecnumber/configure
+++ b/libdecnumber/configure
@@ -3254,7 +3254,7 @@ for real_option in -W -Wall -Wwrite-strings -Wstrict-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`
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 <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 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`