summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 005b663)
raw | patch | inline | side by side (parent: 005b663)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 10 Apr 2007 15:08:09 +0000 (17:08 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 10 Apr 2007 15:08:09 +0000 (17:08 +0200) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 4e241b496755f913e5a93ef9ab8bf600443336a9..51270d118cb52d64055e15c4ee71494db2422c8b 100644 (file)
--- a/configure.in
+++ b/configure.in
# For the dns plugin
AC_CHECK_HEADERS(arpa/nameser.h arpa/nameser_compat.h)
-AC_CHECK_HEADERS(net/if_arp.h)
+AC_CHECK_HEADERS(net/if_arp.h, [], [],
+[#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+])
AC_CHECK_HEADERS(net/if_ppp.h)
-AC_CHECK_HEADERS(netinet/if_ether.h)
+AC_CHECK_HEADERS(netinet/if_ether.h, [], [],
+[#if HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+#if HAVE_NET_IF_H
+# include <net/if.h>
+#endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+])
dnl Checking for libraries
AC_CHECK_LIB(m, ext)