Add vfs_fake_perms to Samba 3.0
[kai/samba.git] / source3 / configure.in
index 9d51c16466e684032ae663bef6e0961f39fde6c6..c15832a7136b38267c774c4920deac04923c3ed2 100644 (file)
@@ -252,7 +252,7 @@ if test "x$enable_developer" = xyes; then
 fi
 
 dnl These are preferably build shared, and static if dlopen() is not available
-default_shared_modules="vfs_recycle vfs_audit vfs_extd_audit vfs_netatalk"
+default_shared_modules="vfs_recycle vfs_audit vfs_extd_audit vfs_netatalk vfs_fake_perms"
 
 #
 # Config CPPFLAG settings for strange OS's that must be set
@@ -2291,6 +2291,7 @@ LIBS=""
        #include <lber.h>
        #include <ldap.h>], [ldap_set_rebind_proc(0, 0, 0);], [pam_ldap_cv_ldap_set_rebind_proc=3], [pam_ldap_cv_ldap_set_rebind_proc=2]) ])
        AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
+       AC_CHECK_FUNCS(ldap_initialize) 
   fi
   
 LDAP_LIBS="$LIBS";