From e5333d5628a585ff00b78d50a0a22b0cf98aa9ff Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 28 Dec 2006 19:04:32 +0000 Subject: r20389: this needs to be after AC_LIBREPLACE_BROKEN_CHECKS :-) metze --- source/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/configure.in b/source/configure.in index fd8866b953a..d3338e186f8 100644 --- a/source/configure.in +++ b/source/configure.in @@ -330,9 +330,6 @@ CFLAGS="${CFLAGS} -D_SAMBA_BUILD_=3" AC_LIBREPLACE_CC_CHECKS -# add -ldl to the global LIBS -LIBS="${LIBS} ${LIBDL}" - m4_include(lib/socket_wrapper/config.m4) ################################################# @@ -854,6 +851,9 @@ for obj in ${LIBREPLACEOBJ}; do done AC_SUBST(LIBREPLACE_OBJS) +# add -ldl to the global LIBS +LIBS="${LIBS} ${LIBDL}" + AC_CHECK_HEADERS(aio.h arpa/inet.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h rpc/nettype.h) AC_CHECK_HEADERS(unistd.h utime.h grp.h sys/id.h memory.h alloca.h) AC_CHECK_HEADERS(limits.h float.h) -- cgit