openbsd-ports/devel/ORBit2/patches/patch-configure_in
jasper 3e6c8d7ea8 update ORBit2 to 2.14.7
ok martynas@
2007-04-24 12:41:34 +00:00

24 lines
794 B
Plaintext

$OpenBSD: patch-configure_in,v 1.4 2007/04/24 12:41:34 jasper Exp $
--- configure.in.orig Mon Feb 12 13:05:10 2007
+++ configure.in Sat Mar 17 23:32:43 2007
@@ -262,7 +262,18 @@ AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h sys/poll.h)
AC_CHECK_HEADERS(stddef.h wchar.h wcstr.h wctype.h machine/types.h)
AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h sys/un.h)
-AC_CHECK_HEADERS(arpa/nameser.h resolv.h)
+AC_CHECK_HEADERS(arpa/nameser.h)
+AC_CHECK_HEADERS(resolv.h, [], [], [
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#if HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#endif
+])
dnl AC_CHECK_HEADERS(linux/irda.h)
dnl Checks for library functions.