From: Lennart Poettering Date: Fri, 17 Apr 2009 19:35:21 +0000 (+0200) Subject: freebsd: compatibility fix for looking for CMSG_DATA X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=fd5bae5a6626956acd11995628fb83e7e8182c1f;p=catta freebsd: compatibility fix for looking for CMSG_DATA Patch contributed by Sven Wegener --- diff --git a/configure.ac b/configure.ac index cb6e151..9ca380c 100644 --- a/configure.ac +++ b/configure.ac @@ -350,7 +350,7 @@ 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=500 -D__EXTENSIONS__") + AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__", [[#include ]]) # Checks for library functions. AC_FUNC_MEMCMP