aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-12-20 17:01:30 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2011-12-20 17:01:30 +0000
commit604fcd6577ea18c09a5fc3aefd3798f75f177ab3 (patch)
tree620e7145ba5f445cd274076664ca33ac0ae45a4b /libiberty/configure
parent6e012a6c38c5bb8f44669653d86fa8382ffd0922 (diff)
downloadgdb-604fcd6577ea18c09a5fc3aefd3798f75f177ab3.zip
gdb-604fcd6577ea18c09a5fc3aefd3798f75f177ab3.tar.gz
gdb-604fcd6577ea18c09a5fc3aefd3798f75f177ab3.tar.bz2
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/configure b/libiberty/configure
index d26c8b5..9bccb8e 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`