summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 11:07:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 11:07:38 +0200
commit70eba79edb3cba9432508ff3c439200e980f9468 (patch)
tree7c1bee4412410a52799d243cc71e5ae456a31cc1 /source3/configure.in
parent86576f0f1627bf799e422d16baac5a7057de0316 (diff)
parent221ea78e2e1688f2e79703784b3d1d1a68057604 (diff)
downloadsamba-70eba79edb3cba9432508ff3c439200e980f9468.tar.gz
samba-70eba79edb3cba9432508ff3c439200e980f9468.tar.bz2
samba-70eba79edb3cba9432508ff3c439200e980f9468.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 9388ebabc0..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)
@@ -4318,12 +4320,6 @@ AC_ARG_WITH(pam_smbpass,
)
-###############################################
-# test for where we get crypt() from
-AC_SEARCH_LIBS(crypt, [crypt],
- [test "$ac_cv_search_crypt" = "none required" || AUTH_LIBS="-lcrypt $AUTH_LIBS"
- AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])])
-
##
## moved after the check for -lcrypt in order to
## ensure that the necessary libraries are included