Make sure crypt libs get included.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 19 Oct 2008 12:54:16 +0000 (14:54 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 19 Oct 2008 12:54:16 +0000 (14:54 +0200)
lib/replace/samba.m4
source3/configure.in

index 07c4d38..ccb6f2e 100644 (file)
@@ -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}])
index ce1c422..a97d535 100644 (file)
@@ -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)