From d08fb7b1cc39f4fa92045a4789fcf6182caba907 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 13 Sep 2006 16:51:45 +0000 Subject: r18485: include libreplace.m4 in the aclocal.m4 files and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd) --- source4/lib/replace/aclocal.m4 | 2 +- source4/lib/replace/configure.ac | 2 +- source4/lib/replace/libreplace.m4 | 4 +++- source4/lib/replace/libreplace_macros.m4 | 3 --- source4/lib/replace/samba.m4 | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) (limited to 'source4/lib/replace') diff --git a/source4/lib/replace/aclocal.m4 b/source4/lib/replace/aclocal.m4 index 2a7ad94963..5605e476ba 100644 --- a/source4/lib/replace/aclocal.m4 +++ b/source4/lib/replace/aclocal.m4 @@ -1 +1 @@ -m4_include(libreplace_macros.m4) +m4_include(libreplace.m4) diff --git a/source4/lib/replace/configure.ac b/source4/lib/replace/configure.ac index cf1fe8defc..48fb7ce259 100644 --- a/source4/lib/replace/configure.ac +++ b/source4/lib/replace/configure.ac @@ -3,7 +3,7 @@ AC_INIT(replace.c) AC_CONFIG_SRCDIR([replace.c]) AC_CONFIG_HEADER(config.h) -m4_include(libreplace.m4) +AC_LIBREPLACE_ALL_CHECKS if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -Wall" diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index 293b2380a8..53655e6544 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -303,4 +303,6 @@ AC_LIBREPLACE_BROKEN_CHECKS AC__LIBREPLACE_ALL_CHECKS_END ]) -AC_LIBREPLACE_ALL_CHECKS +m4_include(libreplace_cc.m4) +m4_include(libreplace_macros.m4) +m4_include(autoconf-2.60.m4) diff --git a/source4/lib/replace/libreplace_macros.m4 b/source4/lib/replace/libreplace_macros.m4 index 67a770c9e2..6c1110dc4b 100644 --- a/source4/lib/replace/libreplace_macros.m4 +++ b/source4/lib/replace/libreplace_macros.m4 @@ -251,6 +251,3 @@ define(AC_ADD_INCLUDE, EOF ]) -m4_include(libreplace_cc.m4) -m4_include(autoconf-2.60.m4) - diff --git a/source4/lib/replace/samba.m4 b/source4/lib/replace/samba.m4 index c6c5e63b7f..3769c7f50e 100644 --- a/source4/lib/replace/samba.m4 +++ b/source4/lib/replace/samba.m4 @@ -1,4 +1,4 @@ -m4_include(lib/replace/libreplace.m4) +AC_LIBREPLACE_BROKEN_CHECKS SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL}]) SMB_ENABLE(LIBREPLACE_EXT) -- cgit