summaryrefslogtreecommitdiff
path: root/net/ntop/patches/patch-ad
blob: ba7ed13ebc2ff093450899dcfd20807116c218c6 (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
$NetBSD: patch-ad,v 1.1 1998/08/07 22:42:30 kim Exp $

--- configure.in.orig	Thu Jul 30 06:09:44 1998
+++ configure.in	Fri Aug  7 18:16:15 1998
@@ -18,7 +18,7 @@
 
 AC_LBL_C_INIT(V_CCOPT, V_INCLS)
 
-AC_CHECK_HEADERS(fcntl.h malloc.h memory.h)
+AC_CHECK_HEADERS(fcntl.h malloc.h memory.h ncurses.h curses.h)
 AC_HEADER_TIME
 
 AC_REPLACE_FUNCS(vfprintf)
@@ -27,6 +27,8 @@
 
 AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS)
 
+AC_CHECK_LIB(ncurses, main)
+
 V_GROUP=0
 case "$target_os" in
 
@@ -47,19 +49,19 @@
 	;;
 esac
 
-if test -f /dev/bpf0 ; then
-	V_GROUP=bpf
-fi
+#if test -f /dev/bpf0 ; then
+#	V_GROUP=bpf
+#fi
 
 AC_LBL_CHECK_TYPE(int32_t, int)
 AC_LBL_CHECK_TYPE(u_int32_t, u_int)
 
 AC_LBL_DEVEL(V_CCOPT)
 
-if test -r lbl/gnuc.h ; then
-	rm -f gnuc.h
-	ln -s lbl/gnuc.h gnuc.h
-fi
+#if test -r lbl/gnuc.h ; then
+#	rm -f gnuc.h
+#	ln -s lbl/gnuc.h gnuc.h
+#fi
 
 AC_SUBST(V_CCOPT)
 AC_SUBST(V_GROUP)