]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call.
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 20 Dec 2011 16:54:12 +0000 (16:54 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Tue, 20 Dec 2011 16:54:12 +0000 (16:54 +0000)
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
fixincludes/:
* configure: Regenerate.
gcc/:
* configure: Regenerate.
libcpp/:
* configure: Regenerate.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.
lto-plugin/:
* configure: Regenerate.

From-SVN: r182546

14 files changed:
config/ChangeLog
config/warnings.m4
fixincludes/ChangeLog
fixincludes/configure
gcc/ChangeLog
gcc/configure
libcpp/ChangeLog
libcpp/configure
libdecnumber/ChangeLog
libdecnumber/configure
libiberty/ChangeLog
libiberty/configure
lto-plugin/ChangeLog
lto-plugin/configure

index 5c8b62c88fd139912cbb576c21932ac58642c0fd..8012167e1ab91c69ca59bb9b2fc6f9c243004bbd 100644 (file)
@@ -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
index 292e5a471a74bf87b3daaea7d2cbc1812c28e34c..b64b594e62713372d478d98f515011403f42142b 100644 (file)
@@ -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])
index 55dba23f475773c52d9193397022a19da59de8a9..64fcc459b17872d13120cad6e1994f564569b06c 100644 (file)
@@ -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.
index 70b7b947bcd025ae082677c5dd07103c94a1e059..4a28cd1f3fefe16741a81951fcdfde8cc1f68bda 100755 (executable)
@@ -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`
index dc47ebeece08fbb6c12b1fafcca1815eab0d72ea..5135a67c5411fea3e7ea4c9c6f1d4a5c5b0af3b4 100644 (file)
@@ -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
index d7d952eaaf33b10710b004485d10697ae6a3429f..b17c30afb25de0781ac8ea6b55ef6923fa5c7835 100755 (executable)
@@ -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`
index ea5690d602b8f14ac8efac64128a8c1b48f7296c..a24f6add72cb5c16b6f957c40dd4551e24f04ff7 100644 (file)
@@ -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.
index 0ada4e954a1f8d4d8551ad838caf5d1ae92bd9d2..7ea42c54787e0aa0410acb5736554f14a2c116de 100755 (executable)
@@ -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`
index 93dfee6d46f94206b6875c65f4b16eddf17296ae..ec3de316b9981b1314527c73681a3e492726d5d7 100644 (file)
@@ -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.
index 5032a174f0974e19e4f3e34a2f82ed6b75fcad69..2b5868485166dde148419a04702f19a7a8d5717e 100755 (executable)
@@ -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`
index 734cf8cf9c729f179d856340909cedd50c31031f..b5366111c1eb4e69e21bd4e6486dba2ba642929f 100644 (file)
@@ -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.
index 0b943857b754c5c37e41e4e736cf17826ebeca70..9bdea73f950d4fa2d11cf3d2ce7df0950170e71f 100755 (executable)
@@ -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`
index 345f2b2784ed07796489a64afd8ba046a0d4ae32..5db37e791439173b4241b48d6b6607963c9114b7 100644 (file)
@@ -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.
index fab5ef9a6c73a069498f03876a8ed6b3a228d173..7f1ade113a1f15dd47a86725bf6463aa305a4032 100755 (executable)
@@ -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`