aboutsummaryrefslogtreecommitdiff
path: root/security/oidentd/files/patch-configure
blob: c873bbb8e60ce8d228e069882ab4f7fe976527ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- configure.orig	Fri Jul 11 17:50:57 2003
+++ configure	Sat Aug 21 20:41:25 2004
@@ -3597,7 +3597,7 @@
 
 echo "$as_me:$LINENO: checking for egrep" >&5
 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
-if test "${ac_cv_prog_egrep+set}" = set; then
+if test "${ac_cv_prog_egrep+set}" = set ; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
@@ -3858,6 +3858,9 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
+#include <sys/socket.h>
+#include <net/if.h>
+#include <netinet/in.h>
 #include <$ac_header>
 _ACEOF
 rm -f conftest.$ac_objext
@@ -5478,6 +5481,11 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
+#include <sys/socket.h>
+#include <net/if.h>
+#include <netinet/in.h>
+#include <netinet/ip_compat.h>
+#include <netinet/ip_fil.h>
 #include <netinet/ip_nat.h>
 _ACEOF
 rm -f conftest.$ac_objext
@@ -5888,7 +5896,7 @@
 
 		if test "$masq_support" = "no"; then
 			case "$host_os" in
-				*freebsd[45]* )
+				*freebsd[456]* )
 					use_kmem=no
 					os_src=freebsd4.c
 				;;
@@ -5900,7 +5908,7 @@
 			esac
 		else
 			case "$host_os" in
-				*freebsd5* )
+				*freebsd[56]* )
 					use_kmem=yes
 					os_src=freebsd5.c
 				;;