remove a redundent second check for PAM
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2003 01:10:03 +0000 (01:10 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Dec 2003 01:10:03 +0000 (01:10 +0000)
source/libads/config.m4

index ed3609d2df6dea9d2c044ff809a4c7baf9ba15c9..a4ff962a3dd883c18a1ca0a41820ce757cf61722 100644 (file)
@@ -226,22 +226,3 @@ if test x"$with_ldap_support" = x"yes"; then
        AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
   fi
 fi
-
-# check for a PAM clear-text auth, accounts, password and session support
-with_pam_for_crypt=no
-AC_MSG_CHECKING(whether to use PAM)
-AC_ARG_WITH(pam,
-[  --with-pam              Include PAM support (default=no)],
-[ case "$withval" in
-  yes)
-    AC_MSG_RESULT(yes)
-    AC_DEFINE(WITH_PAM,1,[Whether to include PAM support])
-    AUTHLIBS="$AUTHLIBS -lpam"
-    with_pam_for_crypt=yes
-    ;;
-  *)
-    AC_MSG_RESULT(no)
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)