Ticket #412: fix-solaris-socketpair.patch
File fix-solaris-socketpair.patch, 906 bytes (added by , 15 years ago) |
---|
-
xapian-omega-1.0.13
old new 106 106 [AC_DEFINE(HAVE_POSIX_FADVISE, 1, [Define to 1 if you have the 'posix_fadvise' function])] 107 107 ) 108 108 109 dnl omindex uses fork() , socketpair(),and setrlimit() to impose resource109 dnl omindex uses fork() and setrlimit() to impose resource 110 110 dnl limits on filter programs. 111 AC_CHECK_FUNCS([mmap fork setrlimit socketpair sysmp pstat_getdynamic]) 111 AC_CHECK_FUNCS([mmap fork setrlimit sysmp pstat_getdynamic]) 112 113 dnl Check for socketpair function in xnet library under OpenSolaris 114 case $host_os in 115 *solaris*) 116 AC_CHECK_LIB(xnet, socketpair, [AC_DEFINE(HAVE_SOCKETPAIR, 1, [Define to 1 if you have the 'socketpair' function and 'xnet' library under Solaris])]) 117 ;; 118 119 *) 120 AC_CHECK_FUNCS([socketpair]) 121 ;; 122 esac 112 123 113 124 dnl Check that snprintf actually works as it's meant to. 114 125 dnl