summaryrefslogtreecommitdiffabout
path: root/configure.ac
authorSergey Poznyakoff <gray@gnu.org>2016-01-03 14:04:29 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2016-01-03 14:04:29 (GMT)
commit82e4f424e9f4ed16f1521c5bd5df31e0f46ce555 (patch) (unidiff)
treea272a6c44aa2634604fb0bae9dc4475fe772a80d /configure.ac
parent85f2fd8d2772506911e95c3e4a0cb2538594b274 (diff)
downloadpies-82e4f424e9f4ed16f1521c5bd5df31e0f46ce555.tar.gz
pies-82e4f424e9f4ed16f1521c5bd5df31e0f46ce555.tar.bz2
Minor changes
Diffstat (limited to 'configure.ac') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d1bb2a9..2b492da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,14 +95,14 @@ case "${enableval}" in
95 *) AC_MSG_ERROR([bad value ${enableval} for --enable-pam]) ;; 95 *) AC_MSG_ERROR([bad value ${enableval} for --enable-pam]) ;;
96esac],[status_pam=maybe]) 96esac],[status_pam=maybe])
97 97
98AC_SUBST(PAM_LIBS,-lpam) 98AC_SUBST(PAM_LIBS)
99if test "$status_pam" != "no"; then 99if test "$status_pam" != "no"; then
100 pam=$status_pam
101 AC_CHECK_HEADERS(security/pam_appl.h) 100 AC_CHECK_HEADERS(security/pam_appl.h)
102 if test "$ac_cv_header_security_pam_appl_h" = "yes"; then 101 if test "$ac_cv_header_security_pam_appl_h" = "yes"; then
103 AC_CHECK_LIB(dl, dlopen, [PAM_LIBS="$PAM_LIBS -ldl"]) 102 AC_CHECK_LIB(dl, dlopen, [PAM_LIBS="-ldl"])
104 AC_CHECK_LIB(pam, pam_start, 103 AC_CHECK_LIB(pam, pam_start,
105 [status_pam=yes], 104 [status_pam=yes
105 PAM_LIBS="-lpam $PAM_LIBS"],
106 [status_pam=no], $PAM_LIBS) 106 [status_pam=no], $PAM_LIBS)
107 else 107 else
108 status_pam=no 108 status_pam=no

Return to:

Send suggestions and report system problems to the System administrator.