From 1d1b98cd17764be77b1aee79efae8e89ce7faa04 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Thu, 1 Mar 2007 14:24:27 -0500 Subject: add a test program for the PAM module Basically this is a mini login. It authenticates, opens a session, sleeps 20 seconds, and then closes the session. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1e2c1aa..4b8f8ba 100644 --- a/configure.ac +++ b/configure.ac @@ -206,7 +206,11 @@ fi have_pam=no AC_CHECK_LIB(pam, pam_getenv, have_pam=yes) AM_CONDITIONAL(HAVE_PAM, test x$have_pam = xyes) +if test "x$have_pam" = "xyes"; then + PAM_LIBS="${PAM_LIBS} -lpam" +fi AC_SUBST(HAVE_PAM) +AC_SUBST(PAM_LIBS) # # Check if we should build the PAM module -- cgit