openbsd-ports/net/quagga/patches/patch-configure

50 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.4 2007/09/12 20:31:18 rui Exp $
--- configure.orig Fri Sep 7 17:54:55 2007
+++ configure Tue Sep 11 16:52:20 2007
@@ -21131,6 +21131,15 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NET_IF_H
+#include <net/if.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
@@ -24842,6 +24851,18 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NET_IF_H
+#include <net/if.h>
+#endif
+#ifdef HAVE_IPV6
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_NETINET6_IN6_VAR_H
+#include <netinet6/in6_var.h>
+#endif
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
@@ -35776,10 +35797,3 @@ log file mask : ${enable_logfile_mask}
The above user and group must have read/write access to the state file
directory and to the config files in the config file directory."
-
-if test x"$quagga_cv_gnu_make" = x"no"; then echo "
-Warning: The ${MAKE-make} programme detected, either in your path or
-via the MAKE variable, is not GNU Make. GNU make may be installed as
-gmake on some systems. and is required to complete a build of Quagga
-" > /dev/stderr
-fi