From e49c5476b9fff1d0d6914e8d4b0c79284d84e50c Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 2 May 2003 08:41:01 +0000 Subject: [PATCH] Quote "$d" when testing it in "AC_LBL_LIBPCAP", so that if it's empty - i.e., if no extraneous pcap header directory is found when using an installed libpcap - we don't die. --- aclocal.m4 | 4 ++-- configure | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 64a3aac9..20d2effd 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.96 2003-05-01 21:20:52 guy Exp $ (LBL) +dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.97 2003-05-02 08:41:01 guy Exp $ (LBL) dnl dnl Copyright (c) 1995, 1996, 1997, 1998 dnl The Regents of the University of California. All rights reserved. @@ -281,7 +281,7 @@ AC_DEFUN(AC_LBL_LIBPCAP, d="/usr/include/pcap" fi fi - if test -z $d ; then + if test -z "$d" ; then AC_MSG_RESULT(not found) else $2="-I$d $$2" diff --git a/configure b/configure index 728cccb9..54476792 100755 --- a/configure +++ b/configure @@ -3930,7 +3930,7 @@ echo "configure:3925: checking for extraneous pcap header directories" >&5 d="/usr/include/pcap" fi fi - if test -z $d ; then + if test -z "$d" ; then echo "$ac_t""not found" 1>&6 else V_INCLS="-I$d $V_INCLS" -- 2.39.5