1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r18283: libreplace.m4 needs to be early in configure.ac in other packages too

(This used to be commit 03f9c67c06)
This commit is contained in:
Andrew Tridgell 2006-09-09 02:52:41 +00:00 committed by Gerald (Jerry) Carter
parent 35f1a2c30a
commit e6b457d550
4 changed files with 8 additions and 16 deletions

View File

@ -13,7 +13,7 @@ AC_DEFUN([SMB_EXT_LIB], [echo -n ""])
AC_DEFUN([SMB_ENABLE], [echo -n ""])
AC_INIT(include/ldb.h)
AC_CONFIG_SRCDIR([common/ldb.c])
AC_PROG_CC
m4_include(libreplace.m4)
if test "$ac_cv_prog_gcc" = yes; then
CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
@ -29,8 +29,6 @@ if test x"$with_gcov_support" = x"yes"; then
LIBS="$LIBS -lgcov"
fi
AC_SYS_LARGEFILE
AC_FUNC_MMAP
AC_PATH_PROG(XSLTPROC,xsltproc)
AC_PATH_PROG(DOXYGEN,doxygen)
AC_PATH_PROG(GCOV,gcov)
@ -48,7 +46,6 @@ AC_SUBST(MODULESDIR)
TESTS=""
EXTRA_OBJ=""
m4_include(libreplace.m4)
m4_include(libpopt.m4)
m4_include(libtalloc.m4)
m4_include(libtdb.m4)

View File

@ -5,8 +5,6 @@ AC_PREREQ(2.50)
AC_INIT(dlfcn.c)
AC_CONFIG_SRCDIR([dlfcn.c])
AC_CONFIG_HEADER(config.h)
AC_PROG_INSTALL
AC_PROG_CC
if test "$ac_cv_prog_gcc" = yes; then
CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"

View File

@ -16,6 +16,7 @@ AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
AC_C_INLINE
AC_PROG_CC
AC_PROG_INSTALL
LIBREPLACE_C99_STRUCT_INIT([],[])
@ -30,6 +31,7 @@ esac
AC_C_BIGENDIAN
AC_HEADER_STDC
AC_CHECK_SIZEOF(off_t,cross)
AC_CHECK_SIZEOF(size_t,cross)
AC_CHECK_SIZEOF(ssize_t,cross)

View File

@ -2,21 +2,16 @@ AC_PREREQ(2.50)
AC_INIT(talloc.h)
AC_CONFIG_SRCDIR([talloc.c])
AC_SUBST(datarootdir)
AC_PROG_CC
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -Wall -W"
fi
AC_PROG_INSTALL
AC_CONFIG_HEADER(config.h)
m4_include(libreplace.m4)
m4_include(libtalloc.m4)
AC_PATH_PROG(XSLTPROC,xsltproc)
DOC_TARGET=""
if test -n "$XSLTPROC"; then
DOC_TARGET=doc
fi
AC_SUBST(DOC_TARGET)
AC_CONFIG_HEADER(config.h)
AC_SYS_LARGEFILE
m4_include(libreplace.m4)
m4_include(libtalloc.m4)
AC_OUTPUT(Makefile talloc.pc)