Skip to content

Commit

Permalink
config/:
Browse files Browse the repository at this point in the history
	* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
	expr call.
libdecnumber/:
	* configure: Regenerate.
libiberty/:
	* configure: Regenerate.
  • Loading branch information
andreas-schwab committed Dec 20, 2011
1 parent 6e012a6 commit 604fcd6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions config/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2011-12-20 Andreas Schwab <[email protected]>

* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.

2011-12-19 Andreas Schwab <[email protected]>

* warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
Expand Down
2 changes: 1 addition & 1 deletion config/warnings.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
4 changes: 4 additions & 0 deletions libdecnumber/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <[email protected]>

* configure: Regenerate.

2011-12-19 Andreas Schwab <[email protected]>

* configure: Regenerate.
Expand Down
2 changes: 1 addition & 1 deletion libdecnumber/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 4 additions & 0 deletions libiberty/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <[email protected]>

* configure: Regenerate.

2011-12-19 Andreas Schwab <[email protected]>

* configure: Regenerate.
Expand Down
2 changes: 1 addition & 1 deletion libiberty/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 604fcd6

Please sign in to comment.