summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-08 16:25:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:00 -0500
commit4ab73d6045aacd354894fe5edf0c5cfc75784064 (patch)
tree9504f41360cc4a99d059f36d69e11380df026e2c /source4/auth
parent4a61e4901ebc751fea57880424f9045e3bdf238e (diff)
downloadsamba-4ab73d6045aacd354894fe5edf0c5cfc75784064.tar.gz
samba-4ab73d6045aacd354894fe5edf0c5cfc75784064.tar.bz2
samba-4ab73d6045aacd354894fe5edf0c5cfc75784064.zip
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace (This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/config.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/auth/config.m4 b/source4/auth/config.m4
index 5e069ce57b..db5b1e1dc1 100644
--- a/source4/auth/config.m4
+++ b/source4/auth/config.m4
@@ -9,3 +9,9 @@ fi
SMB_EXT_LIB(PAM, $PAM_LIBS)
# end SMB_EXT_LIB_PAM
###############################
+
+################################################
+# test for where we get crypt() from
+AC_CHECK_LIB_EXT(crypt, CRYPT_LIBS, crypt)
+SMB_EXT_LIB_ENABLE(CRYPT,YES)
+SMB_EXT_LIB(CRYPT, $CRYPT_LIBS)