… | |
… | |
188 | ["/var/log/lastlogx" "/var/adm/lastlogx"]) |
188 | ["/var/log/lastlogx" "/var/adm/lastlogx"]) |
189 | ]) |
189 | ]) |
190 | |
190 | |
191 | AC_DEFUN([SCM_RIGHTS_CHECK], |
191 | AC_DEFUN([SCM_RIGHTS_CHECK], |
192 | [ |
192 | [ |
|
|
193 | AH_TEMPLATE([_XOPEN_SOURCE], [Enable declarations of msg_control and msg_controllen on Solaris]) |
193 | case $host in |
194 | case $host in |
194 | *-*-solaris*) |
195 | *-*-solaris*) |
195 | AC_DEFINE(_XOPEN_SOURCE, 500, Enable declarations of msg_control and msg_controllen on Solaris) |
196 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
|
|
197 | #if __STDC_VERSION__ >= 199901L |
|
|
198 | error |
|
|
199 | #endif |
|
|
200 | ]])],[AC_DEFINE(_XOPEN_SOURCE, 500)],[AC_DEFINE(_XOPEN_SOURCE, 600)]) |
196 | AC_SEARCH_LIBS(sendmsg, socket) |
201 | AC_SEARCH_LIBS(sendmsg, socket) |
197 | ;; |
202 | ;; |
198 | esac |
203 | esac |
199 | |
204 | |
200 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, pt_cv_can_pass_fds, |
205 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, pt_cv_can_pass_fds, |