Changeset 2538 for neercs/trunk/configure.ac
- Timestamp:
- Jul 16, 2008, 3:36:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/configure.ac
r2510 r2538 38 38 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) 39 39 40 AC_CHECK_LIB(pam, pam_authenticate, PAM_LIBS="${PAM_LIBS} -lpam") 40 lock=no 41 AC_CHECK_LIB(pam, pam_authenticate, 42 [PAM_LIBS="${PAM_LIBS} -lpam" 43 lock=yes]) 44 AC_DEFINE(USE_LOCK, 1, [Locking the PTY is supported]) 41 45 AC_SUBST(PAM_LIBS) 42 43 46 44 47 AC_CHECK_LIB(util, forkpty, UTIL_LIBS="${UTIL_LIBS} -lutil") … … 48 51 case $target in 49 52 i?86-*-linux-*|amd64-*-linux-*|x86_64-*-linux-*) 53 AC_DEFINE(USE_GRAB, 1, [Grabbing processes is supported]) 50 54 grab=yes ;; 51 55 *) 52 grab=no ;;56 grab=no ;; 53 57 esac 54 58 AC_MSG_RESULT($grab) 55 if test "$grab" = "yes"; then56 AC_DEFINE(USE_GRAB, 1, [Grabbing processes is supported])57 fi58 59 59 60 if test "${enable_debug}" = "yes"; then
Note: See TracChangeset
for help on using the changeset viewer.