diff options
author | Anthony Green <green@moxielogic.com> | 2012-10-30 06:59:32 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2012-10-30 06:59:32 -0400 |
commit | 6993a6686f43f2313b18142c1e96189a27db2aa3 (patch) | |
tree | 7672cde88dc24b9348296adc7785235bbde9e753 /m4/ax_cflags_warn_all.m4 | |
parent | 70084e70ddb13b29dd05c751b1904de206bbe790 (diff) | |
download | libffi-6993a6686f43f2313b18142c1e96189a27db2aa3.tar.gz |
Fix autoconf macros
Diffstat (limited to 'm4/ax_cflags_warn_all.m4')
-rw-r--r-- | m4/ax_cflags_warn_all.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
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])])]) ;; |