summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-03-19 09:42:18 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-03-19 09:42:18 (GMT)
commitd01b9202121805a307e4856e35a4bc9234565f7e (patch) (side-by-side diff)
tree7ab2b6cc8d9f8851c261a0c3acb8b98fef953fb5
parent85f2fd8d2772506911e95c3e4a0cb2538594b274 (diff)
downloadpies-sysvinit.tar.gz
pies-sysvinit.tar.bz2
Bugfixsysvinit
* configure.ac: Reset PAM_LIBS if pam_status is "no".
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac6
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
status_pam=no
fi
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
fi
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
# Build inetd

Return to:

Send suggestions and report system problems to the System administrator.