aboutsummaryrefslogtreecommitdiffstats
path: root/m4/ax_append_compile_flags.m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-11 08:08:33 +0200
committerMax Kellermann <max@duempel.org>2014-06-11 08:08:33 +0200
commit044c81b644810e003a51f3178b413e01f3eb5088 (patch)
tree30f0e30a9258a117cde1429c69077e8bed4e6393 /m4/ax_append_compile_flags.m4
parent507d8fdc6f63800cd022d77fbe2ccbdac097759f (diff)
downloadmpd-044c81b644810e003a51f3178b413e01f3eb5088.tar.gz
mpd-044c81b644810e003a51f3178b413e01f3eb5088.tar.xz
mpd-044c81b644810e003a51f3178b413e01f3eb5088.zip
m4: update to autoconf-archive 20140228
Diffstat (limited to 'm4/ax_append_compile_flags.m4')
-rw-r--r--m4/ax_append_compile_flags.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/ax_append_compile_flags.m4 b/m4/ax_append_compile_flags.m4
index 425417008..dc7b86600 100644
--- a/m4/ax_append_compile_flags.m4
+++ b/m4/ax_append_compile_flags.m4
@@ -54,10 +54,12 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 2
+#serial 4
AC_DEFUN([AX_APPEND_COMPILE_FLAGS],
-[for flag in $1; do
+[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
+AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
+for flag in $1; do
AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3])
done
])dnl AX_APPEND_COMPILE_FLAGS