summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-28 19:04:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:46 -0500
commite5333d5628a585ff00b78d50a0a22b0cf98aa9ff (patch)
tree1c672c74221fd39c734b669f1d1b78dae8888e7d
parentb2feeee7485f0a1006b38e5abee05c2583923242 (diff)
downloadsamba-e5333d5628a585ff00b78d50a0a22b0cf98aa9ff.tar.gz
samba-e5333d5628a585ff00b78d50a0a22b0cf98aa9ff.tar.xz
samba-e5333d5628a585ff00b78d50a0a22b0cf98aa9ff.zip
r20389: this needs to be after AC_LIBREPLACE_BROKEN_CHECKS :-)
metze
-rw-r--r--source/configure.in6
1 files 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)