1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$NetBSD: patch-aa,v 1.4 2013/10/31 02:25:17 minskim Exp $
--- configure.ac.orig 2010-04-05 00:58:05.000000000 +0000
+++ configure.ac
@@ -351,9 +351,9 @@ for testdir in $trypcapdir /usr/local /o
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}])
@@ -810,7 +810,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]),
@@ -1161,7 +1161,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]),
|