Commit 75c9cbe3 by Andreas Schwab

configure.ac: Use m4_quote to quote the expansion of m4_do.

* configure.ac: Use m4_quote to quote the expansion of m4_do.
* configure: Regenerate.

From-SVN: r139905
parent ef66fb29
2008-09-02 Andreas Schwab <schwab@suse.de>
* configure.ac: Use m4_quote to quote the expansion of m4_do.
* configure: Regenerate.
2008-09-02 Richard Sandiford <rdsandiford@googlemail.com>
* simplify-rtx.c (simplify_binary_operation_1): Check for CONST,
......
......@@ -7169,7 +7169,7 @@ CFLAGS="$save_CFLAGS"
if test "$GCC" = yes; then
echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings" >&5
echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings... $ECHO_C" >&6
if test "${acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_+set}" = set; then
if test "${acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
save_CFLAGS="$CFLAGS"
......@@ -7211,19 +7211,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_=yes
acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_=no
acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$save_CFLAGS"
fi
echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_" >&5
echo "${ECHO_T}$acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_" >&6
if test $acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_ = yes; then
echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings" >&5
echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings" >&6
if test $acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings = yes; then
strict_warn="$strict_warn${strict_warn:+ }-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings"
fi
......
......@@ -323,14 +323,14 @@ AC_CHECK_TYPES([__int64], [AC_CHECK_SIZEOF(__int64)])
# So, we only use -pedantic if we can disable those warnings.
ACX_PROG_CC_WARNING_OPTS(
[m4_do([-W -Wall -Wwrite-strings -Wstrict-prototypes ],
[-Wmissing-prototypes -Wcast-qual])], [loose_warn])
m4_quote(m4_do([-W -Wall -Wwrite-strings -Wstrict-prototypes ],
[-Wmissing-prototypes -Wcast-qual])), [loose_warn])
ACX_PROG_CC_WARNING_OPTS(
[m4_do([-Wold-style-definition -Wc++-compat ],
[-Wmissing-format-attribute])], [strict_warn])
m4_quote(m4_do([-Wold-style-definition -Wc++-compat ],
[-Wmissing-format-attribute])), [strict_warn])
ACX_PROG_CC_WARNING_ALMOST_PEDANTIC(
[m4_do([-Wno-long-long -Wno-variadic-macros ],
[-Wno-overlength-strings])], [strict_warn])
m4_quote(m4_do([-Wno-long-long -Wno-variadic-macros ],
[-Wno-overlength-strings])), [strict_warn])
ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual], [strict_warn])
# The above macros do nothing if the compiler is not GCC. However, the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment