]> git.meshlink.io Git - catta/commitdiff
Some additional solaris portability issues. (Patch from trs80) (re #145)
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2007 16:10:26 +0000 (16:10 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2007 16:10:26 +0000 (16:10 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1486 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

configure.ac

index 57be4a9db0922032db5ec99972671e3e3ee8f338..7632b37c448f348cfb3cb4f60e08f62b84e2ca7e 100644 (file)
@@ -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