Added check for Unix specific headers and harmonize with Win32 build.
[pazpar2-moved-to-github.git] / configure.ac
index 9c6d987..0bb54cd 100644 (file)
@@ -25,6 +25,7 @@ if test -z "$YAZLIB"; then
 fi
 YAZ_DOC
 
+AC_CHECK_HEADERS([sys/time.h sys/socket.h unistd.h netinet/in.h netdb.h arpa/inet.h])
 AC_CHECK_FUNCS([getaddrinfo])
 AC_CHECK_ICU([3.6],[ICU_CPPFLAGS="$ICU_CPPFLAGS -D HAVE_ICU=1"])
 AC_CONFIG_FILES([