summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEivind Næss <eivnaes@yahoo.com>2021-07-20 01:18:23 -0700
committerEivind Næss <eivnaes@yahoo.com>2021-07-20 08:25:53 -0700
commit9d5da9abed2b47cbd2ce4ab428ebf9f2e4fd2993 (patch)
treedb0135b2cbcd555438613d4a9992546e01221619 /m4
parentaf9eafe584f98986a20bc33c8535a044bbdbb12b (diff)
downloadppp-9d5da9abed2b47cbd2ce4ab428ebf9f2e4fd2993.tar.gz
Fixing up libpcap configure option on SunOS
Re-introducing the Automake WITH_FILTER to separate the detection of libpcap. SunOS has a viable libpcap, but does not support the filter feature. Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_check_pcap.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_check_pcap.m4 b/m4/ax_check_pcap.m4
index 155f6df..6d70ec1 100644
--- a/m4/ax_check_pcap.m4
+++ b/m4/ax_check_pcap.m4
@@ -41,7 +41,7 @@ AC_DEFUN([AX_CHECK_PCAP], [
esac
])
- if [ test "${with_pcap}" != "no" ] ; then
+ if [ test "x${with_pcap}" != "xno" ] ; then
PCAP_LIBS="-lpcap"
for pcapdir in $pcapdirs; do
AC_MSG_CHECKING([for pcap.h in $pcapdir])