summaryrefslogtreecommitdiff
path: root/net/xipdump/patches/patch-ab
blob: cc0d47a2095699daf9aa5565c5db9fd18577477c (plain)
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
52
53
54
$NetBSD: patch-ab,v 1.2 2000/09/09 19:23:25 wiz Exp $

--- configure.orig	Wed Dec 22 09:51:48 1999
+++ configure
@@ -1360,8 +1360,10 @@
 	LDFLAGS="$LDFLAGS -L$PCAP_LIBPATH"
 fi
 
+if false
+then
 echo $ac_n "checking for local libnet library""... $ac_c" 1>&6
 echo "configure:1365: checking for local libnet library" >&5
     libnet=FAIL
     lastdir=FAIL
     places=`ls .. | sed -e 's,/$,,' -e 's,^,../,' | \
@@ -1389,18 +1391,7 @@
 then
 	LDFLAGS="$LDFLAGS -L$LIBNET_LIBPATH"
 fi
-
-if test "x$ac_cv_c_bigendian" = "xyes"; then
-       cat >> confdefs.h <<\EOF
-#define LIBNET_BIG_ENDIAN 1
-EOF
-
-else
-       cat >> confdefs.h <<\EOF
-#define LIBNET_LIL_ENDIAN 1
-EOF
-
 fi
-       
+
 for ac_func in gethostbyname getservbyname
 do
@@ -1877,6 +1868,18 @@
 fi
 
 
+if test "x$ac_cv_c_bigendian" = "xyes"; then
+       cat >> confdefs.h <<\EOF
+#define LIBNET_BIG_ENDIAN 1
+EOF
+
+else
+       cat >> confdefs.h <<\EOF
+#define LIBNET_LIL_ENDIAN 1
+EOF
+
+fi
+       
 
 for ac_func in bzero bcopy bcmp strdup qsort snprintf usleep strerror strtol strtoul dlopen scandir
 do