From 57d4e110236a42ba32a8db802cf2f4aab0e8aba8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 26 Aug 2008 11:29:33 +0200 Subject: heimdal_build: add fallback for AC_WARNING_ENABLE() metze (This used to be commit 8d6d96898dcc948aa0ee004eaeb48dc847946361) --- source4/heimdal/cf/check-var.m4 | 2 +- source4/heimdal_build/internal.m4 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/heimdal/cf/check-var.m4 b/source4/heimdal/cf/check-var.m4 index ffa61915e9..1e6846593b 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 9a08022993..038c4d9417 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], [ -- cgit