From 6993a6686f43f2313b18142c1e96189a27db2aa3 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Tue, 30 Oct 2012 06:59:32 -0400 Subject: Fix autoconf macros --- m4/ax_cflags_warn_all.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'm4/ax_cflags_warn_all.m4') diff --git a/m4/ax_cflags_warn_all.m4 b/m4/ax_cflags_warn_all.m4 index c22e37f..0fa3e18 100644 --- a/m4/ax_cflags_warn_all.m4 +++ b/m4/ax_cflags_warn_all.m4 @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 14 AC_DEFUN([AX_FLAGS_WARN_ALL],[dnl AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl @@ -84,6 +84,7 @@ done FLAGS="$ac_save_[]FLAGS" ]) AS_VAR_POPDEF([FLAGS])dnl +AC_REQUIRE([AX_APPEND_FLAG]) case ".$VAR" in .ok|.ok,*) m4_ifvaln($3,$3) ;; .|.no|.no,*) m4_default($4,[m4_ifval($2,[AX_APPEND_FLAG([$2], [$1])])]) ;; -- cgit v1.2.1