]> granicus.if.org Git - fcron/commitdiff
changes the func to check if lib pam is installed from pam_start to pam_acct_mgmt...
authorthib <thib>
Fri, 2 Nov 2001 13:38:51 +0000 (13:38 +0000)
committerthib <thib>
Fri, 2 Nov 2001 13:38:51 +0000 (13:38 +0000)
configure.in

index cd007bd84f9bcdbe98524eeb9d483f23ae75ad00..5e9333ed6c35cd7b297ac59e151a90ad7a922339 100644 (file)
@@ -648,14 +648,14 @@ AC_ARG_WITH(pam,
     ;;
   yes)
     AC_MSG_RESULT(yes)
-    AC_CHECK_LIB(pam, pam_start)
+    AC_CHECK_LIB(pam, pam_acct_mgmt)
     ;;
   *)
     AC_MSG_ERROR(Must be set to either "yes" or "no".)
     ;;
   esac ],
   AC_MSG_RESULT(yes)
-  AC_CHECK_LIB(pam, pam_start)
+  AC_CHECK_LIB(pam, pam_acct_mgmt)
 )
 if echo "$LIBS" | grep -e "-lpam" > /dev/null ; then
   usepam=1