Hello,
when I was trying to compile tcpreplay-3.2.0 on a linux box
(fedora 7, autoconf-2.61, gmake-3.81)
I had to make changes to configure resp. configure.ac
for configure to find the pcap library as expected.
I attach a patch for configure.ac
Works great now.
Bye, bye
Juergen
diff -Nurp configure.ac.orig configure.ac
--- configure.ac.orig 2007-08-26 22:06:47.000000000 +0200
+++ configure.ac 2007-09-11 15:32:53.000000000 +0200
@@ -346,7 +346,7 @@ if test x$use_libnet = xyes ; then
if test -f "${testdir}/include/libnet.h" -a $foundnet = no ; then
LNETINC="${testdir}/include/libnet.h"
LNETINCDIR="${testdir}/include"
- if test $dynamic_link = yes; then
+ if test "$dynamic_linker" != "no"; then
if test -f
"${testdir}/lib64/libnet${shrext_cmds}" ; then
LNETLIB="-L${testdir}/lib64 -lnet"
elif test -f
"${testdir}/lib/libnet${shrext_cmds}" ; then
@@ -471,7 +471,7 @@ AC_ARG_WITH(libpcap,
if test -f "${testdir}/include/pcap.h" -a $foundpcap = no ; then
LPCAPINC="${testdir}/include/pcap.h"
LPCAPINCDIR="${testdir}/include"
- if test $dynamic_link = yes; then
+ if test "$dynamic_linker" != "no"; then
if test -f
"${testdir}/lib64/libpcap${shrext_cmds}" ; then
LPCAPLIB="-L${testdir}/lib64 -lpcap"
elif test -f
"${testdir}/lib/libpcap${shrext_cmds}" ; then
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users