From: Lennart Poettering Date: Mon, 11 Jun 2007 16:10:26 +0000 (+0000) Subject: Some additional solaris portability issues. (Patch from trs80) (re #145) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=09ef82e2d020166c6291b4fed38adcc79fe7657e;p=catta Some additional solaris portability issues. (Patch from trs80) (re #145) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1486 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/configure.ac b/configure.ac index 57be4a9..7632b37 100644 --- a/configure.ac +++ b/configure.ac @@ -338,6 +338,11 @@ AC_TYPE_SIZE_T AC_HEADER_TIME AC_HEADER_SYS_WAIT + # Solaris stuff + AC_SEARCH_LIBS([inet_ntop],[nsl]) + AC_SEARCH_LIBS([recv],[socket]) + AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D__EXTENSIONS__") + # Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_SELECT_ARGTYPES