summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-19 14:54:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-19 14:54:16 +0200
commit6ba693b5de0ecf53638468b56ce3b93d2e33c919 (patch)
tree9839f482f7a66b6ca081caad2aba9ffd8d8070ab
parent1ba9867e7ae2f517e47edd67d7d41e48b6f55e5c (diff)
downloadsamba-6ba693b5de0ecf53638468b56ce3b93d2e33c919.tar.gz
samba-6ba693b5de0ecf53638468b56ce3b93d2e33c919.tar.bz2
samba-6ba693b5de0ecf53638468b56ce3b93d2e33c919.zip
Make sure crypt libs get included.
-rw-r--r--lib/replace/samba.m42
-rw-r--r--source3/configure.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/replace/samba.m4 b/lib/replace/samba.m4
index 07c4d38887..ccb6f2e20d 100644
--- a/lib/replace/samba.m4
+++ b/lib/replace/samba.m4
@@ -1,7 +1,7 @@
AC_LIBREPLACE_BROKEN_CHECKS
AC_LIBREPLACE_NETWORK_CHECKS
-SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL}])
+SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL} ${CRYPT_LIBS}])
SMB_ENABLE(LIBREPLACE_EXT)
SMB_EXT_LIB(LIBREPLACE_NETWORK, [${LIBREPLACE_NETWORK_LIBS}])
diff --git a/source3/configure.in b/source3/configure.in
index ce1c422bd1..a97d535c77 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -657,6 +657,8 @@ AC_SUBST(LIBREPLACE_OBJS)
# add -ldl to the global LIBS
LIBS="${LIBS} ${LIBDL} ${LIBREPLACE_NETWORK_LIBS}"
+AUTH_LIBS="${AUTH_LIBS} ${CRYPT_LIBS}"
+
AC_CHECK_HEADERS(aio.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)