diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-13 16:51:45 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2006-09-13 16:51:45 +0000 |
commit | 0ee90659f22fd04f98c467f681bb900cc6a81fcb (patch) | |
tree | e0b018d542b611bcb3ac28e652a3936d74215752 /source/lib | |
parent | 68f0773e3a1b1eb06e16bd786c3b846cc92e9128 (diff) | |
download | samba-0ee90659f22fd04f98c467f681bb900cc6a81fcb.tar.gz samba-0ee90659f22fd04f98c467f681bb900cc6a81fcb.tar.xz samba-0ee90659f22fd04f98c467f681bb900cc6a81fcb.zip |
r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac
metze
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/ldb/aclocal.m4 | 2 | ||||
-rw-r--r-- | source/lib/ldb/configure.ac | 3 | ||||
-rw-r--r-- | source/lib/replace/aclocal.m4 | 2 | ||||
-rw-r--r-- | source/lib/replace/configure.ac | 2 | ||||
-rw-r--r-- | source/lib/replace/libreplace.m4 | 4 | ||||
-rw-r--r-- | source/lib/replace/libreplace_macros.m4 | 3 | ||||
-rw-r--r-- | source/lib/replace/samba.m4 | 2 | ||||
-rw-r--r-- | source/lib/talloc/aclocal.m4 | 2 | ||||
-rw-r--r-- | source/lib/talloc/configure.ac | 3 | ||||
-rw-r--r-- | source/lib/tdb/aclocal.m4 | 2 | ||||
-rw-r--r-- | source/lib/tdb/configure.ac | 2 |
11 files changed, 14 insertions, 13 deletions
diff --git a/source/lib/ldb/aclocal.m4 b/source/lib/ldb/aclocal.m4 index 2a7ad949631..5605e476bab 100644 --- a/source/lib/ldb/aclocal.m4 +++ b/source/lib/ldb/aclocal.m4 @@ -1 +1 @@ -m4_include(libreplace_macros.m4) +m4_include(libreplace.m4) diff --git a/source/lib/ldb/configure.ac b/source/lib/ldb/configure.ac index 1666a94de1e..70a41004510 100644 --- a/source/lib/ldb/configure.ac +++ b/source/lib/ldb/configure.ac @@ -13,7 +13,8 @@ AC_DEFUN([SMB_EXT_LIB], [echo -n ""]) AC_DEFUN([SMB_ENABLE], [echo -n ""]) AC_INIT(include/ldb.h) AC_CONFIG_SRCDIR([common/ldb.c]) -m4_include(libreplace.m4) + +AC_LIBREPLACE_ALL_CHECKS if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings" diff --git a/source/lib/replace/aclocal.m4 b/source/lib/replace/aclocal.m4 index 2a7ad949631..5605e476bab 100644 --- a/source/lib/replace/aclocal.m4 +++ b/source/lib/replace/aclocal.m4 @@ -1 +1 @@ -m4_include(libreplace_macros.m4) +m4_include(libreplace.m4) diff --git a/source/lib/replace/configure.ac b/source/lib/replace/configure.ac index cf1fe8defc5..48fb7ce2594 100644 --- a/source/lib/replace/configure.ac +++ b/source/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/source/lib/replace/libreplace.m4 b/source/lib/replace/libreplace.m4 index 293b2380a85..53655e6544e 100644 --- a/source/lib/replace/libreplace.m4 +++ b/source/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/source/lib/replace/libreplace_macros.m4 b/source/lib/replace/libreplace_macros.m4 index 67a770c9e28..6c1110dc4b0 100644 --- a/source/lib/replace/libreplace_macros.m4 +++ b/source/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/source/lib/replace/samba.m4 b/source/lib/replace/samba.m4 index c6c5e63b7fd..3769c7f50e9 100644 --- a/source/lib/replace/samba.m4 +++ b/source/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) diff --git a/source/lib/talloc/aclocal.m4 b/source/lib/talloc/aclocal.m4 index 2a7ad949631..5605e476bab 100644 --- a/source/lib/talloc/aclocal.m4 +++ b/source/lib/talloc/aclocal.m4 @@ -1 +1 @@ -m4_include(libreplace_macros.m4) +m4_include(libreplace.m4) diff --git a/source/lib/talloc/configure.ac b/source/lib/talloc/configure.ac index acde824b870..51e7256bf88 100644 --- a/source/lib/talloc/configure.ac +++ b/source/lib/talloc/configure.ac @@ -4,7 +4,8 @@ AC_CONFIG_SRCDIR([talloc.c]) AC_SUBST(datarootdir) AC_CONFIG_HEADER(config.h) -m4_include(libreplace.m4) +AC_LIBREPLACE_ALL_CHECKS + m4_include(libtalloc.m4) AC_PATH_PROG(XSLTPROC,xsltproc) diff --git a/source/lib/tdb/aclocal.m4 b/source/lib/tdb/aclocal.m4 index 2a7ad949631..5605e476bab 100644 --- a/source/lib/tdb/aclocal.m4 +++ b/source/lib/tdb/aclocal.m4 @@ -1 +1 @@ -m4_include(libreplace_macros.m4) +m4_include(libreplace.m4) diff --git a/source/lib/tdb/configure.ac b/source/lib/tdb/configure.ac index 9da1d85ae25..bf73b124507 100644 --- a/source/lib/tdb/configure.ac +++ b/source/lib/tdb/configure.ac @@ -5,6 +5,6 @@ AC_DEFUN([SMB_ENABLE], [echo -n ""]) AC_INIT(include/tdb.h) AC_CONFIG_SRCDIR([common/tdb.c]) AC_CONFIG_HEADER(include/config.h) -m4_include(libreplace.m4) +AC_LIBREPLACE_ALL_CHECKS m4_include(libtdb.m4) AC_OUTPUT(Makefile tdb.pc) |