summaryrefslogtreecommitdiff
blob: 1fac654c0d864aeb24d999c23b0378c807a839f1 (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
--- a/configure.in
+++ b/configure.in
@@ -114,47 +114,6 @@
   AC_MSG_RESULT(yes) ]
 )
 
-dnl Now let's checck the version of libnet (1.1.x requirerd)
-AC_MSG_CHECKING(for version 1.1.x of libnet)
-AC_TRY_RUN([
-#include "$NETINC/libnet.h"
-#include <string.h>
-int main()
-{
-   return (strncmp(LIBNET_VERSION, "1.1.", 4));
-}
-],
-[ AC_MSG_RESULT(yes)],
-[  AC_MSG_RESULT(no)
-   AC_MSG_ERROR(Bad libnet version found in $NETINC/libnet.h:
-download libnet-1.1.x from http://www.packetfactory.net/projects/libnet/. 
-If you think this version of libnet is already installed on your system
-tell arp-sk where it is using --with-libnet=DIR)
-]
-dnl ,
-dnl [  v=(`sed -n /LIBNET_VERSION/p /usr/local/include/libnet.h  | sed s/\"//g |awk '{print $3}'`)
-dnl   echo "v=$v"
-dnl   save_IFS="${IFS}"
-dnl   IFS=.
-dnl   vatb=(${v[0]})
-dnl   IFS=$save_IFS
-dnl   LIBNET_MAJOR=${vtab[0]}
-dnl   LIBNET_MINOR=${vtab[1]}
-
-dnl   if [ $LIBNET_MAJOR==1 -a $LIBNET_MINOR==1 ]; then 
-dnl     AC_MSG_RESULT(yes);
-dnl   else
-dnl    AC_MSG_RESULT(no)
-dnl    AC_MSG_ERROR(Bad libnet version:
-
-dnl $NETINC/libnet.h
-
-dnl download libnet-1.1.x from http://www.packetfactory.net/projects/libnet/. 
-dnl If you think this version of libnet id already installed on your system, 
-dnl tell arp-sk where it is using --with-libnet=DIR)
-dnl   fi
-dnl ]
-)
 
 
 NETINC="-I$NETINC"