Changeset 4790
- Timestamp:
- 12/09/11 00:22:41 (19 months ago)
- File:
-
- 1 edited
-
neercs/trunk/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/configure.ac
r4391 r4790 73 73 AC_CHECK_HEADERS(stdio.h pty.h sys/ioctl.h sys/ptrace.h sys/stat.h sys/syscall.h sys/user.h sys/wait.h linux/kdev_t.h linux/major.h security/pam_appl.h security/pam_misc.h) 74 74 75 if test $host_os != "darwin10.2.0"; then 76 AC_CHECK_LIB(pam, pam_authenticate, 77 [PAM_LIBS="${PAM_LIBS} -lpam" 78 AC_DEFINE(USE_LOCK, 1, [Locking the PTY is supported])]) 75 case $host_os in 76 darwin*) 77 AC_MSG_RESULT(Disabling lock support on OSX) ;; 78 *) 79 AC_CHECK_LIB(pam, pam_authenticate, 80 [PAM_LIBS="${PAM_LIBS} -lpam" 81 AC_DEFINE(USE_LOCK, 1, [Locking the PTY is supported])]) ;; 82 esac 79 83 AC_SUBST(PAM_LIBS) 80 else81 AC_MSG_RESULT(Disabling lock support on OSX)82 fi83 84 84 85 AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
Note: See TracChangeset
for help on using the changeset viewer.
