]>
Commit | Line | Data |
---|---|---|
96e20b55 JB |
1 | --- dsniff-2.4/configure.in.orig 2020-05-23 16:39:43.240198026 +0200 |
2 | +++ dsniff-2.4/configure.in 2020-05-23 16:57:33.264401208 +0200 | |
3 | @@ -122,18 +122,17 @@ | |
4 | fi | |
5 | ;; | |
6 | esac ], | |
7 | -[ for dir in ${prefix}/BerkeleyDB.3.1 ${prefix}/BerkeleyDB.3.0 \ | |
8 | - ${prefix}/BerkeleyDB ${prefix}/db ${prefix}; do | |
9 | +[ for dir in ${prefix}; do | |
10 | if test -f ${dir}/include/db_185.h; then | |
11 | AC_DEFINE(HAVE_DB_185_H) | |
12 | DBINC="-I${dir}/include" | |
13 | - DBLIB="-L${dir}/lib -ldb" | |
14 | + DBLIB="-ldb" | |
15 | have_db=yes | |
16 | break | |
17 | elif test -f ${dir}/include/db.h; then | |
18 | AC_DEFINE(HAVE_DB_H) | |
19 | DBINC="-I${dir}/include" | |
20 | - DBLIB="-L${dir}/lib -ldb" | |
21 | + DBLIB="-ldb" | |
22 | have_db=yes | |
23 | break | |
24 | fi | |
25 | @@ -190,7 +189,7 @@ | |
26 | esac ], | |
27 | [ if test -f ${prefix}/include/pcap.h; then | |
28 | PCAPINC="-I${prefix}/include" | |
29 | - PCAPLIB="-L${prefix}/lib -lpcap" | |
30 | + PCAPLIB="-lpcap" | |
31 | elif test -f /usr/include/pcap/pcap.h; then | |
32 | PCAPINC="-I/usr/include/pcap" | |
33 | PCAPLIB="-lpcap" | |
34 | @@ -235,7 +234,7 @@ | |
35 | [ if test -f ${prefix}/include/libnet.h; then | |
36 | CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`" | |
37 | LNETINC="-I${prefix}/include" | |
38 | - LNETLIB="-L${prefix}/lib -lnet" | |
39 | + LNETLIB="-lnet" | |
40 | elif test -f /usr/include/libnet.h; then | |
41 | CFLAGS="$CFLAGS `libnet-config --defines`" | |
42 | LNETLIB="-lnet" | |
43 | @@ -275,7 +274,7 @@ | |
44 | esac ], | |
45 | [ if test -f ${prefix}/include/nids.h; then | |
46 | NIDSINC="-I${prefix}/include" | |
47 | - NIDSLIB="-L${prefix}/lib -lnids" | |
48 | + NIDSLIB="-lnids" | |
49 | elif test -f /usr/include/nids.h; then | |
50 | NIDSLIB="-lnids" | |
51 | else | |
52 | @@ -322,7 +321,7 @@ | |
53 | esac ], | |
54 | [ if test -f ${prefix}/include/openssl/ssl.h; then | |
55 | SSLINC="-I${prefix}/include" | |
56 | - SSLLIB="-L${prefix}/lib -lssl -lcrypto" | |
57 | + SSLLIB="-lssl -lcrypto" | |
58 | elif test -f ${prefix}/ssl/include/openssl/ssl.h; then | |
59 | SSLINC="-I${prefix}/ssl/include" | |
60 | SSLLIB="-L${prefix}/ssl/lib -lssl -lcrypto" |