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.
fixincludes/:
	* configure: Regenerate.
gcc/:
	* configure: Regenerate.
libcpp/:
	* configure: Regenerate.
libdecnumber/:
	* configure: Regenerate.
libiberty/:
	* configure: Regenerate.
lto-plugin/:
	* configure: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182546 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
schwab committed Dec 20, 2011
1 parent 941a239 commit 80cfebd
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 14 deletions.
5 changes: 5 additions & 0 deletions config/ChangeLog
@@ -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>

PR bootstrap/51388
Expand Down
2 changes: 1 addition & 1 deletion config/warnings.m4
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 fixincludes/ChangeLog
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.

2011-12-19 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.
Expand Down
2 changes: 1 addition & 1 deletion fixincludes/configure
Expand Up @@ -4569,7 +4569,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 gcc/ChangeLog
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.

2011-12-20 Bernd Schmidt <bernds@codesourcery.com>

PR middle-end/51200
Expand Down
12 changes: 6 additions & 6 deletions gcc/configure
Expand Up @@ -4849,7 +4849,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
$as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }

if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
have_gnat=yes
else
have_gnat=no
Expand Down Expand Up @@ -6404,7 +6404,7 @@ for real_option in -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down Expand Up @@ -6449,7 +6449,7 @@ for real_option in -Wstrict-prototypes -Wmissing-prototypes; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down Expand Up @@ -6494,7 +6494,7 @@ for real_option in -Wmissing-format-attribute; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down Expand Up @@ -6539,7 +6539,7 @@ for real_option in -Wold-style-definition -Wc++-compat; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down Expand Up @@ -6647,7 +6647,7 @@ for real_option in -fno-exceptions -fno-rtti; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down
4 changes: 4 additions & 0 deletions libcpp/ChangeLog
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.

2011-12-19 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.
Expand Down
6 changes: 3 additions & 3 deletions libcpp/configure
Expand Up @@ -4693,7 +4693,7 @@ for real_option in -W -Wall -Wno-narrowing -Wwrite-strings \
# 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 Expand Up @@ -4739,7 +4739,7 @@ for real_option in -Wstrict-prototypes -Wmissing-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 Expand Up @@ -4824,7 +4824,7 @@ for real_option in -fno-exceptions -fno-rtti; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down
4 changes: 4 additions & 0 deletions libdecnumber/ChangeLog
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.

2011-12-19 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.
Expand Down
2 changes: 1 addition & 1 deletion libdecnumber/configure
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
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.

2011-12-20 Tristan Gingold <gingold@adacore.com>

* aclocal.m4: Assume strncmp works in cross case.
Expand Down
2 changes: 1 addition & 1 deletion libiberty/configure
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
4 changes: 4 additions & 0 deletions lto-plugin/ChangeLog
@@ -1,3 +1,7 @@
2011-12-20 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.

2011-12-19 Andreas Schwab <schwab@linux-m68k.org>

* configure: Regenerate.
Expand Down
2 changes: 1 addition & 1 deletion lto-plugin/configure
Expand Up @@ -4047,7 +4047,7 @@ for real_option in -Wall; 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_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
Expand Down

0 comments on commit 80cfebd

Please sign in to comment.