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 | |||
@@ -108,13 +108,15 @@ if test "$status_pam" != "no"; then | |||
108 | status_pam=no | 108 | status_pam=no |
109 | fi | 109 | fi |
110 | if test $pam = yes && test $pam != $status_pam; then | 110 | if test $pam = yes && test $pam != $status_pam; then |
111 | AC_MSG_ERROR([required module PAM cannot be built because of missing prerequisites]) | 111 | AC_MSG_ERROR([required module PAM cannot be built because of missing prerequisites]) |
112 | fi | 112 | fi |
113 | fi | 113 | fi |
114 | 114 | ||
115 | AM_CONDITIONAL([PAM_COND], [test $status_pam = yes]) | 115 | AM_CONDITIONAL([PAM_COND], [test $status_pam = yes]) |
116 | if test $status_pam = yes; then | 116 | if test $status_pam = yes; then |
117 | AC_DEFINE_UNQUOTED(WITH_PAM, 1, [PAM support enabled]) | 117 | AC_DEFINE_UNQUOTED(WITH_PAM, 1, [PAM support enabled]) |
118 | else | ||
119 | PAM_LIBS= | ||
118 | fi | 120 | fi |
119 | 121 | ||
120 | # Build inetd | 122 | # Build inetd |