Update GLIB_CHECK_COMPILE_WARNINGS macro to work with Autoconf 2.64

Quoting its NEWS file: "The m4sh macros AS_IF and AS_CASE can now be
used in shell lists.  The responsibility for supplying a trailing
newline now belongs to the call site, but since most users did not add
dnl, this generally results in fewer empty lines in configure."

http://bugzilla.gnome.org/show_bug.cgi?id=591840
This commit is contained in:
Frédéric Péters 2009-08-14 21:00:41 +02:00
parent eae6bdd397
commit c24f6e5527

View File

@ -117,7 +117,7 @@ AS_IF([_AC_EVAL_STDERR($ac_compile) &&
[$2],
[echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
m4_ifvaln([$3],[$3])dnl])dnl
m4_ifvaln([$3],[$3])dnl])
ac_compile="$glib_ac_compile_save"
rm -f conftest.$ac_objext conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
])# GLIB_CHECK_COMPILE_WARNINGS