ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/ptytty.m4
(Generate patch)

Comparing libptytty/ptytty.m4 (file contents):
Revision 1.4 by ayin, Mon Jan 23 10:10:50 2006 UTC vs.
Revision 1.8 by ayin, Sun Sep 10 14:30:37 2006 UTC

15 revoke \ 15 revoke \
16 _getpty \ 16 _getpty \
17 getpt \ 17 getpt \
18 posix_openpt \ 18 posix_openpt \
19 isastream \ 19 isastream \
20 setuid \
21 seteuid \
22 setreuid \
23 setresuid \
20) 24)
21 25
22have_clone=no 26have_clone=no
23 27
24AC_MSG_CHECKING(for /dev/ptym/clone) 28AC_MSG_CHECKING(for /dev/ptym/clone)
74fi 78fi
75]) 79])
76 80
77AC_DEFUN([UTMP_CHECK], 81AC_DEFUN([UTMP_CHECK],
78[ 82[
83support_utmp=yes
84support_wtmp=yes
85support_lastlog=yes
86
79AC_ARG_ENABLE(utmp, 87AC_ARG_ENABLE(utmp,
80 [ --enable-utmp enable utmp (utmpx) support], 88 [ --enable-utmp enable utmp (utmpx) support],
81 [if test x$enableval = xyes -o x$enableval = xno; then 89 [if test x$enableval = xyes -o x$enableval = xno; then
82 support_utmp=$enableval 90 support_utmp=$enableval
83 fi]) 91 fi])
428}]])],[path_lastlogx=`cat conftestval`],[path_lastlogx=],[dnl 436}]])],[path_lastlogx=`cat conftestval`],[path_lastlogx=],[dnl
429 AC_MSG_WARN(Define LASTLOGX_FILE in config.h manually)])]) 437 AC_MSG_WARN(Define LASTLOGX_FILE in config.h manually)])])
430if test x$path_lastlogx != x; then 438if test x$path_lastlogx != x; then
431 AC_DEFINE_UNQUOTED(LASTLOGX_FILE, "$path_lastlogx", Define location of lastlogx) 439 AC_DEFINE_UNQUOTED(LASTLOGX_FILE, "$path_lastlogx", Define location of lastlogx)
432fi 440fi
433
434if test x$support_utmp != xyes; then
435 echo " utmp support: disabled"
436 echo
437else
438 echo " utmp support: enabled
439 utmp file: $path_utmp
440 utmpx file: $path_utmpx
441 wtmp file: $path_wtmp
442 wtmpx file: $path_wtmpx
443 lastlog file: $path_lastlog
444 lastlogx file: $path_lastlogx"
445fi
446]) 441])
447 442
448AC_DEFUN([SCM_RIGHTS_CHECK], 443AC_DEFUN([SCM_RIGHTS_CHECK],
449[ 444[
450AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds, 445AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds,
451[AC_TRY_LINK([ 446[AC_TRY_LINK([
452#include <cstddef> // broken bsds (is that redundant) need this 447#include <cstddef> // broken bsds (is that redundant?) need this
453#include <sys/types.h> 448#include <sys/types.h>
454#include <sys/socket.h> 449#include <sys/socket.h>
455#include <sys/uio.h> 450#include <sys/uio.h>
456],[ 451],[
457{ 452{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines