Mercurial > dropbear
comparison configure.in @ 122:cb7ef2f63bf0 private-rez
propagate of f51a272341ee12268fe7028bc2f2bad66c603069 and ab35ee4292ea910d4871c3609d6100fe34300720 from branch 'matt.dbclient.rez' to 'matt.dbclient.work'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 14 Sep 2004 13:09:29 +0000 |
parents | 3394a7cb30cd |
children | a3b58707122b |
comparison
equal
deleted
inserted
replaced
120:18b261b1dea2 | 122:cb7ef2f63bf0 |
---|---|
115 AC_CHECK_LIB(z, deflate, , AC_MSG_ERROR([*** zlib missing - install first or check config.log ***])) | 115 AC_CHECK_LIB(z, deflate, , AC_MSG_ERROR([*** zlib missing - install first or check config.log ***])) |
116 AC_MSG_RESULT(Enabling zlib) | 116 AC_MSG_RESULT(Enabling zlib) |
117 ] | 117 ] |
118 ) | 118 ) |
119 | 119 |
120 # Check if pam is needed | |
121 AC_ARG_WITH(pam, | |
122 [ --with-pam=PATH Use pam in PATH], | |
123 [ | |
124 # option is given | |
125 if test -d "$withval/lib"; then | |
126 LDFLAGS="-L${withval}/lib ${LDFLAGS}" | |
127 else | |
128 LDFLAGS="-L${withval} ${LDFLAGS}" | |
129 fi | |
130 if test -d "$withval/include"; then | |
131 CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | |
132 else | |
133 CPPFLAGS="-I${withval} ${CPPFLAGS}" | |
134 fi | |
135 ] | |
136 ) | |
137 | |
138 | |
139 AC_ARG_ENABLE(pam, | |
140 [ --enable-pam Try to include PAM support], | |
141 [ | |
142 if test "x$enableval" = "xyes"; then | |
143 AC_CHECK_LIB(pam, pam_authenticate, , AC_MSG_ERROR([*** PAM missing - install first or check config.log ***])) | |
144 AC_MSG_RESULT(Enabling PAM) | |
145 else | |
146 AC_DEFINE(DISABLE_PAM,, Use PAM) | |
147 AC_MSG_RESULT(Disabling PAM) | |
148 fi | |
149 ], | |
150 [ | |
151 # disable it by default | |
152 AC_DEFINE(DISABLE_PAM,, Use PAM) | |
153 AC_MSG_RESULT(Disabling PAM) | |
154 ] | |
155 ) | |
156 | |
120 AC_ARG_ENABLE(openpty, | 157 AC_ARG_ENABLE(openpty, |
121 [ --disable-openpty Don't use openpty, use alternative method], | 158 [ --disable-openpty Don't use openpty, use alternative method], |
122 [ | 159 [ |
123 if test "x$enableval" = "xno"; then | 160 if test "x$enableval" = "xno"; then |
124 AC_MSG_RESULT(Not using openpty) | 161 AC_MSG_RESULT(Not using openpty) |
167 | 204 |
168 | 205 |
169 # Checks for header files. | 206 # Checks for header files. |
170 AC_HEADER_STDC | 207 AC_HEADER_STDC |
171 AC_HEADER_SYS_WAIT | 208 AC_HEADER_SYS_WAIT |
172 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h]) | 209 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h]) |
173 | 210 |
174 # Checks for typedefs, structures, and compiler characteristics. | 211 # Checks for typedefs, structures, and compiler characteristics. |
175 AC_C_CONST | 212 AC_C_CONST |
176 AC_TYPE_UID_T | 213 AC_TYPE_UID_T |
177 AC_TYPE_MODE_T | 214 AC_TYPE_MODE_T |