]>
Commit | Line | Data |
---|---|---|
a1f285b9 JR |
1 | --- tcpreplay-4.3.2/configure.ac~ 2019-03-12 20:46:23.000000000 +0100 |
2 | +++ tcpreplay-4.3.2/configure.ac 2019-03-30 20:33:13.916245547 +0100 | |
3 | @@ -627,7 +627,7 @@ | |
4 | LPCAPINCDIR=${testdir} | |
5 | if test $dynamic_link = yes; then | |
6 | for ext in .dylib .so .tbd ; do | |
7 | - for dir in . lib lib64 lib/${host_cpu}-${host_os} ${host_cpu}-${host_os} lib/${MULTIARCH} ${MULTIARCH}; do | |
8 | + for dir in . lib lib64 libx32 lib/${host_cpu}-${host_os} ${host_cpu}-${host_os} lib/${MULTIARCH} ${MULTIARCH}; do | |
9 | sharefile=$(ls ${testdir}/$dir/libpcap${ext}* 2> /dev/null | sort | head -n1) | |
10 | if test -n "${sharefile}"; then | |
11 | LPCAPLIB="-L$(dirname ${sharefile}) -lpcap" | |
12 | @@ -645,7 +645,7 @@ | |
13 | dnl If dynamic library not found, try static | |
14 | dnl | |
15 | for ext in ${libext} .a .A.tbd ; do | |
16 | - for dir in . lib lib64 lib/${host_cpu}-${host_os} ${host_cpu}-${host_os} lib/${MULTIARCH} ${MULTIARCH}; do | |
17 | + for dir in . lib lib64 libx32 lib/${host_cpu}-${host_os} ${host_cpu}-${host_os} lib/${MULTIARCH} ${MULTIARCH}; do | |
18 | staticfile=$(ls ${testdir}/$dir/libpcap${ext} 2> /dev/null | sort | head -n1) | |
19 | if test -n "${staticfile}"; then | |
20 | LPCAPLIB="${staticfile}" | |
21 | @@ -756,7 +756,7 @@ | |
22 | LPCAPINCDIR="${testdir}/include" | |
23 | if test $dynamic_link = yes; then | |
24 | for ext in .dylib .so .tbd; do | |
25 | - for dir in . lib lib64 ${host_cpu} lib/${host_cpu} ${host_cpu}-${host_os} lib/${host_cpu}-${host_os} ${MULTIARCH} lib/${MULTIARCH}; do | |
26 | + for dir in . lib lib64 libx32 ${host_cpu} lib/${host_cpu} ${host_cpu}-${host_os} lib/${host_cpu}-${host_os} ${MULTIARCH} lib/${MULTIARCH}; do | |
27 | sharefile=$(ls "${testdir}/$dir/libpcap${ext}" 2> /dev/null | sort | head -n1) | |
28 | if test -n "${sharefile}"; then | |
29 | LPCAPLIB="-L$(dirname ${sharefile}) -lpcap" | |
30 | @@ -775,7 +775,7 @@ | |
31 | dnl If dynamic library not found, try static | |
32 | dnl | |
33 | for ext in ${libext} .a .A.tbd ; do | |
34 | - for dir in . lib lib64 lib/${host_cpu}-${host_os} ${host_cpu}-${host_os} lib/${MULTIARCH} ${MULTIARCH}; do | |
35 | + for dir in . lib lib64 libx32 lib/${host_cpu}-${host_os} ${host_cpu}-${host_os} lib/${MULTIARCH} ${MULTIARCH}; do | |
36 | staticfile=$(ls "${testdir}/$dir/libpcap${ext}" 2> /dev/null | sort | head -n1) | |
37 | if test -n "${staticfile}"; then | |
38 | LPCAPLIB="${staticfile}" |