… | |
… | |
95 | updlastlogx \ |
95 | updlastlogx \ |
96 | ) |
96 | ) |
97 | |
97 | |
98 | AC_CHECK_HEADERS(lastlog.h) |
98 | AC_CHECK_HEADERS(lastlog.h) |
99 | |
99 | |
|
|
100 | case $host in |
|
|
101 | *-*-solaris*) |
|
|
102 | AC_DEFINE(__EXTENSIONS__, 1, Enable declarations in utmp.h on Solaris when the XPG4v2 namespace is active) |
|
|
103 | ;; |
|
|
104 | esac |
|
|
105 | |
100 | dnl# -------------------------------------------------------------------------- |
106 | dnl# -------------------------------------------------------------------------- |
101 | dnl# DO ALL UTMP AND WTMP CHECKING |
107 | dnl# DO ALL UTMP AND WTMP CHECKING |
102 | dnl# -------------------------------------------------------------------------- |
108 | dnl# -------------------------------------------------------------------------- |
103 | dnl# check for host field in utmp structure |
109 | dnl# 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 | |
189 | AC_DEFUN([SCM_RIGHTS_CHECK], |
195 | AC_DEFUN([SCM_RIGHTS_CHECK], |
190 | [ |
196 | [ |
|
|
197 | case $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 | ;; |
|
|
202 | esac |
|
|
203 | |
191 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, pt_cv_can_pass_fds, |
204 | AC_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> |