summaryrefslogtreecommitdiff
path: root/net/ntop/files/patch-configure.in
blob: 780a4b50083c7f9d781ee9e35c5297956ffaa9d1 (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
--- configure.in.orig	2012-08-13 04:35:26.000000000 -0300
+++ configure.in	2013-01-09 13:11:12.000000000 -0200
@@ -560,7 +560,7 @@
    test -d ${TMP_ROOT} &&
    test -r ${TMP_ROOT}/libpcap.a; then
        PCAP_ROOT=${TMP_ROOT}
-       CORELIBS="${CORELIBS} -L${TMP_ROOT} -L${HOME}/PF_RING/userland/lib -lpfring -lpcap "
+       CORELIBS="${CORELIBS}-L${TMP_ROOT}-L${HOME}/PF_RING/userland/lib -lpfring -lpcap "
        INCS="${INCS} -I ${PCAP_ROOT}"
        AC_MSG_RESULT([found in $PCAP_ROOT])
 elif test ".${PCAP_ROOT}" != .; then
@@ -568,7 +568,7 @@
      test -r $PCAP_ROOT/lib/libpcap.a &&
      test -r $PCAP_ROOT/include/pcap.h; then
        PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
-       CORELIBS="${CORELIBS} -L ${PCAP_ROOT}/lib -lpcap"
+       CORELIBS="${CORELIBS}-L${PCAP_ROOT}/lib -lpcap"
        INCS="${INCS} -I ${PCAP_ROOT}/include"
        AC_MSG_RESULT([found in $PCAP_ROOT])
   else
@@ -584,7 +584,7 @@
      test -r /usr/local/lib/libpcap.a &&
      test -r /usr/local/include/pcap.h; then
        PCAP_ROOT="/usr/local"
-       CORELIBS="${CORELIBS} -L$PCAP_ROOT/lib -lpcap"
+       CORELIBS="${CORELIBS}-L$PCAP_ROOT/lib -lpcap"
        INCS="${INCS} -I$PCAP_ROOT/include"
        AC_MSG_RESULT([found in $PCAP_ROOT])
 dnl>
@@ -1744,8 +1744,6 @@
 else
    if test -f "3rd_party/GeoLiteCity.dat.gz"; then
      cp 3rd_party/GeoLiteCity.dat.gz .
-   else
-     wget http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
    fi
 
    gunzip GeoLiteCity.dat.gz
@@ -1758,8 +1756,6 @@
 else
    if test -f "3rd_party/GeoIPASNum.dat.gz"; then
      cp 3rd_party/GeoIPASNum.dat.gz .
-   else
-     wget http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
    fi
 
    gunzip GeoIPASNum.dat.gz