summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-26 10:21:48 +1100
committerDamien Miller <djm@mindrot.org>1999-12-26 10:21:48 +1100
commit32b3cf2c96fd8cee6cb082821a43d3375c850d58 (patch)
tree103872b5f4423e17000a6221fd07fd6234924a26 /configure.in
parent2e1b082dfbc5dcdae80957a3d889abe9fa480d77 (diff)
19991226
- Enabled utmpx support by default for Solaris - Cleanup sshd.c PAM a little more 19991225 - Merged fixes from Ben Taylor <bent@clark.net> - Fixed configure support for PAM. Reported by Naz <96na@eng.cam.ac.uk> - Disabled logging of PAM password authentication failures when password is empty. (e.g start of authentication loop). Reported by Naz <96na@eng.cam.ac.uk>)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 7bb96270a..6cfacd2db 100644
--- a/configure.in
+++ b/configure.in
@@ -53,6 +53,9 @@ case "$host" in
53 AC_DEFINE(DISABLE_SHADOW) 53 AC_DEFINE(DISABLE_SHADOW)
54 fi 54 fi
55 ;; 55 ;;
56*-*-solaris*)
57 AC_DEFINE(USE_UTMPX)
58 ;;
56esac 59esac
57 60
58dnl Check for OpenSSL/SSLeay directories. 61dnl Check for OpenSSL/SSLeay directories.
@@ -101,11 +104,14 @@ AC_ARG_WITH(pam,
101 [ --without-pam Disable PAM support ], 104 [ --without-pam Disable PAM support ],
102 [ 105 [
103 if test "x$withval" != "xno" ; then 106 if test "x$withval" != "xno" ; then
104 AC_CHECK_LIB(dl, dlopen, , ) 107 no_pam=1
105 AC_CHECK_LIB(pam, pam_authenticate, , )
106 fi 108 fi
107 ] 109 ]
108) 110)
111if test -z "$no_pam" ; then
112 AC_CHECK_LIB(dl, dlopen, , )
113 AC_CHECK_LIB(pam, pam_authenticate, , )
114fi
109 115
110dnl Checks for header files. 116dnl Checks for header files.
111AC_CHECK_HEADERS(endian.h lastlog.h login.h maillock.h netgroup.h paths.h poll.h pty.h shadow.h util.h utmp.h utmpx.h sys/bsdtty.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h) 117AC_CHECK_HEADERS(endian.h lastlog.h login.h maillock.h netgroup.h paths.h poll.h pty.h shadow.h util.h utmp.h utmpx.h sys/bsdtty.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h)