123456789101112131415161718192021222324252627282930 |
- --- tcpreplay-3.4.4/configure.ac.orig 2010-04-05 02:58:05.000000000 +0200
- +++ tcpreplay-3.4.4/configure.ac 2012-07-06 23:27:29.000000000 +0200
- @@ -39,6 +39,7 @@
- AC_SUBST(host)
- AC_SUBST(build)
- AC_SUBST(target)
- +MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
-
- have_cygwin=no
- AC_MSG_CHECKING([for cygwin development environment])
- @@ -355,6 +356,8 @@
- LPCAPLIB="-L${testdir}/lib64 -lpcap"
- elif test -f "${testdir}/lib/libpcap${shrext_cmds}" ; then
- LPCAPLIB="-L${testdir}/lib -lpcap"
- + elif test -f "${testdir}/lib/$MULTIARCH/libpcap${shrext_cmds}" ; then
- + LPCAPLIB="-L${testdir}/lib/$MULTIARCH/lib -lpcap"
- else
- AC_ERROR([Unable to find libpcap in ${testdir}])
- fi
- @@ -364,6 +367,9 @@
- LPCAPLIB="${testdir}/lib/libpcap.${libext}"
- elif test -f "${testdir}/lib/libwpcap.${libext}" ; then
- LPCAPLIB="${testdir}/lib/libwpcap.${libext}"
- + elif test -f "${testdir}/lib/$MULTIARCH/libpcap.${libext}" ; then
- + LPCAPLIB="${testdir}/lib/$MULTIARCH/libpcap.${libext}"
- +
- AC_DEFINE([HAVE_WINPCAP], [1], [Do we have WinPcap?])
- else
- AC_ERROR([Unable to find matching library for header file in ${testdir}])
|