]> git.ipfire.org Git - location/libloc.git/commitdiff
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 79ae5e6195d42c8cc9f2d94ed08a10fb8ac8393c..3bd88a2000c3df9237ee09099b48b227de8195dd 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 \