summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ChangeLog5
-rw-r--r--config/warnings.m42
-rw-r--r--fixincludes/ChangeLog4
-rwxr-xr-xfixincludes/configure2
-rw-r--r--gcc/ChangeLog4
-rwxr-xr-xgcc/configure12
-rw-r--r--libcpp/ChangeLog4
-rwxr-xr-xlibcpp/configure6
-rw-r--r--libdecnumber/ChangeLog4
-rwxr-xr-xlibdecnumber/configure2
-rw-r--r--libiberty/ChangeLog4
-rwxr-xr-xlibiberty/configure2
-rw-r--r--lto-plugin/ChangeLog4
-rwxr-xr-xlto-plugin/configure2
14 files changed, 43 insertions, 14 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 5c8b62c88fd..8012167e1ab 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>
PR bootstrap/51388
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/fixincludes/ChangeLog b/fixincludes/ChangeLog
index 55dba23f475..64fcc459b17 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/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/fixincludes/configure b/fixincludes/configure
index 70b7b947bcd..4a28cd1f3fe 100755
--- a/fixincludes/configure
+++ b/fixincludes/configure
@@ -4569,7 +4569,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/gcc/ChangeLog b/gcc/ChangeLog
index dc47ebeece0..5135a67c541 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * configure: Regenerate.
+
2011-12-20 Bernd Schmidt <bernds@codesourcery.com>
PR middle-end/51200
diff --git a/gcc/configure b/gcc/configure
index d7d952eaaf3..b17c30afb25 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -4849,7 +4849,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
$as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
-if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
+if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
have_gnat=yes
else
have_gnat=no
@@ -6404,7 +6404,7 @@ for real_option in -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual; 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`
@@ -6449,7 +6449,7 @@ for real_option in -Wstrict-prototypes -Wmissing-prototypes; 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`
@@ -6494,7 +6494,7 @@ for real_option in -Wmissing-format-attribute; 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`
@@ -6539,7 +6539,7 @@ for real_option in -Wold-style-definition -Wc++-compat; 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`
@@ -6647,7 +6647,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`
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`
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 734cf8cf9c7..b5366111c1e 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * configure: Regenerate.
+
2011-12-20 Tristan Gingold <gingold@adacore.com>
* aclocal.m4: Assume strncmp works in cross case.
diff --git a/libiberty/configure b/libiberty/configure
index 0b943857b75..9bdea73f950 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`
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index 345f2b2784e..5db37e79143 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/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/lto-plugin/configure b/lto-plugin/configure
index fab5ef9a6c7..7f1ade113a1 100755
--- a/lto-plugin/configure
+++ b/lto-plugin/configure
@@ -4047,7 +4047,7 @@ for real_option in -Wall; 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`