summaryrefslogtreecommitdiff
path: root/libdecnumber/configure
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2011-12-20 17:01:29 +0000
committerAndreas Schwab <schwab@suse.de>2011-12-20 17:01:29 +0000
commitfea778453b931067df16ffcaab24858a2063366b (patch)
tree4fc8ce05d8371e89555ad00b67e8eb7b8edf5ee9 /libdecnumber/configure
parentdc8a0875bb4a7079afa16d88d34e5b2a6bd3430c (diff)
downloadgdb-fea778453b931067df16ffcaab24858a2063366b.tar.gz
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
Diffstat (limited to 'libdecnumber/configure')
-rwxr-xr-xlibdecnumber/configure2
1 files changed, 1 insertions, 1 deletions
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`