From 6150443532ef714fcd060e4fe384db11552eb673 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 6 Sep 2006 09:52:16 +0000 Subject: r18152: move our AC macros into lib/replace/libreplace_macros.m4 and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071) --- source4/lib/tdb/aclocal.m4 | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'source4/lib/tdb') diff --git a/source4/lib/tdb/aclocal.m4 b/source4/lib/tdb/aclocal.m4 index cdc2a2fa52..2a7ad94963 100644 --- a/source4/lib/tdb/aclocal.m4 +++ b/source4/lib/tdb/aclocal.m4 @@ -1,12 +1 @@ -dnl see if a declaration exists for a function or variable -dnl defines HAVE_function_DECL if it exists -dnl AC_HAVE_DECL(var, includes) -AC_DEFUN(AC_HAVE_DECL, -[ - AC_CACHE_CHECK([for $1 declaration],ac_cv_have_$1_decl,[ - AC_TRY_COMPILE([$2],[int i = (int)$1], - ac_cv_have_$1_decl=yes,ac_cv_have_$1_decl=no)]) - if test x"$ac_cv_have_$1_decl" = x"yes"; then - AC_DEFINE([HAVE_]translit([$1], [a-z], [A-Z])[_DECL],1,[Whether $1() is available]) - fi -]) +m4_include(libreplace_macros.m4) -- cgit