configure patch for mac

pull/2/head
Krista Bennett 2 years ago
parent b547226bf0
commit c9cb707cbd

@ -562,7 +562,6 @@ if test "x$enable_ipv6" != "xno"; then
AC_DEFINE(HAVE_IPV6, 1, [Define to enable IPv6 support.])
dnl check for getaddrinfo and freeaddrinfo function presence
CFLAGS="$CFLAGS -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/"
for func in "getaddrinfo" "freeaddrinfo"; do
AC_MSG_CHECKING([for $func])
AC_TRY_LINK([#include <netdb.h> ],

Loading…
Cancel
Save