diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d1bb2a9..1090b48 100644 --- a/configure.ac +++ b/configure.ac @@ -110,3 +110,3 @@ if test "$status_pam" != "no"; then if test $pam = yes && test $pam != $status_pam; then - AC_MSG_ERROR([required module PAM cannot be built because of missing prerequisites]) + AC_MSG_ERROR([required module PAM cannot be built because of missing prerequisites]) fi @@ -116,3 +116,5 @@ AM_CONDITIONAL([PAM_COND], [test $status_pam = yes]) if test $status_pam = yes; then - AC_DEFINE_UNQUOTED(WITH_PAM, 1, [PAM support enabled]) + AC_DEFINE_UNQUOTED(WITH_PAM, 1, [PAM support enabled]) +else + PAM_LIBS= fi |