configure: Check for the existance of some headers
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Jan 2018 16:30:24 +0000 (16:30 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Jan 2018 16:30:24 +0000 (16:30 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
configure.ac

index 79ae5e6..3bd88a2 100644 (file)
@@ -39,6 +39,13 @@ AS_IF([test "x$enable_debug" = "xyes"], [
         AC_DEFINE(ENABLE_DEBUG, [1], [Debug messages.])
 ])
 
+AC_CHECK_HEADERS_ONCE([
+       arpa/inet.h \
+       endian.h \
+       netinet/in.h \
+       string.h \
+])
+
 AC_CHECK_FUNCS([ \
         be16toh \
         be32toh \