summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-26 11:29:33 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-26 18:47:49 +0200
commit57d4e110236a42ba32a8db802cf2f4aab0e8aba8 (patch)
treed910f4f614c208b6c0a174eef5c2614e1eddcc89
parentf09f67d24d0504cbb29d4344b3bd443f0e7e0b90 (diff)
downloadsamba-57d4e110236a42ba32a8db802cf2f4aab0e8aba8.tar.gz
samba-57d4e110236a42ba32a8db802cf2f4aab0e8aba8.tar.xz
samba-57d4e110236a42ba32a8db802cf2f4aab0e8aba8.zip
heimdal_build: add fallback for AC_WARNING_ENABLE()
metze (This used to be commit 8d6d96898dcc948aa0ee004eaeb48dc847946361)
-rw-r--r--source4/heimdal/cf/check-var.m42
-rw-r--r--source4/heimdal_build/internal.m42
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/heimdal/cf/check-var.m4 b/source4/heimdal/cf/check-var.m4
index ffa61915e9a..1e6846593b0 100644
--- a/source4/heimdal/cf/check-var.m4
+++ b/source4/heimdal/cf/check-var.m4
@@ -23,5 +23,5 @@ if test "$ac_foo" = yes; then
fi
])
-dnl AC_WARNING_ENABLE([obsolete])
+AC_WARNING_ENABLE([obsolete])
AU_DEFUN([AC_CHECK_VAR], [rk_CHECK_VAR([$2], [$1])], [foo])
diff --git a/source4/heimdal_build/internal.m4 b/source4/heimdal_build/internal.m4
index 9a08022993f..038c4d94172 100644
--- a/source4/heimdal_build/internal.m4
+++ b/source4/heimdal_build/internal.m4
@@ -1,5 +1,7 @@
m4_define([upcase],`echo $1 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`)dnl
+m4_ifndef([AC_WARNING_ENABLE],[AC_DEFUN([AC_WARNING_ENABLE],[])])
+
dnl love_FIND_FUNC(func, includes, arguments)
dnl kind of like AC_CHECK_FUNC, but with headerfiles
AC_DEFUN([love_FIND_FUNC], [