summaryrefslogtreecommitdiff
path: root/net/xipdump/files/patch-configure
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 19:45:01 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 19:45:01 +0000
commit7d7a63cbcd3d71898f3fa64ae8dbc872413a8670 (patch)
tree576d501fc0f63c5ec5ab3a68e56a4fb6d60329ad /net/xipdump/files/patch-configure
parentUpdate to 9.21 (diff)
add xipdump
Displays ip packets using X window PR: 28225 Submitted by: UMENO Takashi <umeno@rr.iij4u.or.jp>
Notes
Notes: svn path=/head/; revision=51230
Diffstat (limited to 'net/xipdump/files/patch-configure')
-rw-r--r--net/xipdump/files/patch-configure52
1 files changed, 52 insertions, 0 deletions
diff --git a/net/xipdump/files/patch-configure b/net/xipdump/files/patch-configure
new file mode 100644
index 000000000000..735ad1231d2b
--- /dev/null
+++ b/net/xipdump/files/patch-configure
@@ -0,0 +1,52 @@
+--- 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