Files
pkgsrc-ng/net/tcpreplay/patches/patch-aa
T
2013-09-26 17:14:40 +02:00

40 lines
1.4 KiB
Plaintext

$NetBSD: patch-aa,v 1.3 2009/05/02 17:35:43 minskim Exp $
--- configure.ac.orig 2009-02-04 13:18:11.000000000 -0800
+++ configure.ac
@@ -350,9 +350,9 @@ AC_ARG_WITH(libpcap,
LPCAPINC="${testdir}/include/pcap.h"
LPCAPINCDIR="${testdir}/include"
if test $dynamic_link = yes; then
- if test -f "${testdir}/lib64/libpcap${shrext_cmds}" ; then
+ if test -e "${testdir}/lib64/libpcap${shrext_cmds}" ; then
LPCAPLIB="-L${testdir}/lib64 -lpcap"
- elif test -f "${testdir}/lib/libpcap${shrext_cmds}" ; then
+ elif test -e "${testdir}/lib/libpcap${shrext_cmds}" ; then
LPCAPLIB="-L${testdir}/lib -lpcap"
else
AC_ERROR([Unable to find libpcap in ${testdir}])
@@ -773,7 +773,7 @@ libdnet_version=
enable_fragroute=no
trydnetdir=/usr/local
-if test $have_cygwin == no ; then
+if test $have_cygwin = no ; then
AC_MSG_CHECKING(for libdnet)
AC_ARG_WITH(libdnet,
AC_HELP_STRING([--with-libdnet=DIR], [Use libdnet in DIR]),
@@ -1122,7 +1122,7 @@ case $host in
;;
esac])
-AM_CONDITIONAL([ENABLE_OSX_FRAMEWORKS], test "$osx_frameworks" == "yes")
+AM_CONDITIONAL([ENABLE_OSX_FRAMEWORKS], test "$osx_frameworks" = "yes")
AC_ARG_WITH(testnic2,
AC_HELP_STRING([--with-testnic2=NIC2], [Select an optional 2nd network card to use for testing]),
@@ -1211,4 +1211,3 @@ Please see: http://tcpreplay.synfin.net/
Please report any bugs! http://tcpreplay.synfin.net/trac/newticket])
;;
esac
-