summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog4
-rwxr-xr-xlibcpp/configure6
2 files changed, 7 insertions, 3 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index ea5690d602b..a24f6add72c 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/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/libcpp/configure b/libcpp/configure
index 0ada4e954a1..7ea42c54787 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`