]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - libdecnumber/configure
config/:
[thirdparty/binutils-gdb.git] / libdecnumber / configure
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`