summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index fd8866b953..d3338e186f 100644
--- a/source3/configure.in
+++ b/source3/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)