From: Frédéric Péters Date: Fri, 14 Aug 2009 19:00:41 +0000 (+0200) Subject: Update GLIB_CHECK_COMPILE_WARNINGS macro to work with Autoconf 2.64 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c24f6e55276fac68b08df34b0d350f65afe994d9;p=dana%2Fcg-glib.git 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 --- diff --git a/acglib.m4 b/acglib.m4 index 530c0af0..4778bfaf 100644 --- 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