]> sourceware.org Git - newlib-cygwin.git/commitdiff
config/:
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 20 Dec 2011 17:01:29 +0000 (17:01 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 20 Dec 2011 17:01:29 +0000 (17:01 +0000)
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.

config/ChangeLog
config/warnings.m4

index 2d06a8d6bea6df85214111be0aa85bb32cd76b21..1087ad8ca916e05a2e564187ea294c0e2abc208e 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>
 
        * warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
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])
This page took 0.035904 seconds and 5 git commands to generate.