Update GLIB_CHECK_COMPILE_WARNINGS macro to work with Autoconf 2.64
authorFrédéric Péters <fpeters@0d.be>
Fri, 14 Aug 2009 19:00:41 +0000 (21:00 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 14 Aug 2009 19:36:42 +0000 (21:36 +0200)
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

acglib.m4

index 530c0af..4778bfa 100644 (file)
--- a/acglib.m4
+++ b/acglib.m4
@@ -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