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

Comparing libptytty/ptytty.m4 (file contents):
Revision 1.33 by sf-exg, Wed Jan 18 19:44:37 2012 UTC vs.
Revision 1.34 by sf-exg, Thu Jan 19 11:06:10 2012 UTC

95 updlastlogx \ 95 updlastlogx \
96) 96)
97 97
98AC_CHECK_HEADERS(lastlog.h) 98AC_CHECK_HEADERS(lastlog.h)
99 99
100case $host in
101 *-*-solaris*)
102 AC_DEFINE(__EXTENSIONS__, 1, Enable declarations in utmp.h on Solaris when the XPG4v2 namespace is active)
103 ;;
104esac
105
100dnl# -------------------------------------------------------------------------- 106dnl# --------------------------------------------------------------------------
101dnl# DO ALL UTMP AND WTMP CHECKING 107dnl# DO ALL UTMP AND WTMP CHECKING
102dnl# -------------------------------------------------------------------------- 108dnl# --------------------------------------------------------------------------
103dnl# check for host field in utmp structure 109dnl# check for host field in utmp structure
104 110
186["/var/log/lastlogx" "/var/adm/lastlogx"]) 192["/var/log/lastlogx" "/var/adm/lastlogx"])
187]) 193])
188 194
189AC_DEFUN([SCM_RIGHTS_CHECK], 195AC_DEFUN([SCM_RIGHTS_CHECK],
190[ 196[
197case $host in
198 *-*-solaris*)
199 AC_DEFINE(_XOPEN_SOURCE, 500, Enable declarations of msg_control and msg_controllen on Solaris)
200 AC_SEARCH_LIBS(sendmsg, socket)
201 ;;
202esac
203
191AC_CACHE_CHECK(for unix-compliant filehandle passing ability, pt_cv_can_pass_fds, 204AC_CACHE_CHECK(for unix-compliant filehandle passing ability, pt_cv_can_pass_fds,
192[AC_LINK_IFELSE([AC_LANG_PROGRAM([[ 205[AC_LINK_IFELSE([AC_LANG_PROGRAM([[
193#include <cstddef> // broken bsds (is that redundant?) need this 206#include <cstddef> // broken bsds (is that redundant?) need this
194#include <sys/types.h> 207#include <sys/types.h>
195#include <sys/socket.h> 208#include <sys/socket.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines