Note that we don't need to worry about pkg-config lacking --exists.

[skip ci]
This commit is contained in:
Guy Harris 2019-04-30 00:25:37 -07:00
parent f57a25811d
commit 41df53a5c6
2 changed files with 8 additions and 0 deletions

4
aclocal.m4 vendored
View File

@ -537,6 +537,10 @@ AC_DEFUN(AC_LBL_LIBPCAP,
#
# We have it. Are there .pc files for libpcap?
#
# --exists was introduced in pkg-config 0.4.0; that
# dates back to late 2000, so we won't worry about
# earlier releases that lack it.
#
AC_MSG_CHECKING(whether there are .pc files for libpcap)
if "$PKG_CONFIG" libpcap --exists ; then
#

4
configure vendored
View File

@ -5462,6 +5462,10 @@ fi
#
# We have it. Are there .pc files for libpcap?
#
# --exists was introduced in pkg-config 0.4.0; that
# dates back to late 2000, so we won't worry about
# earlier releases that lack it.
#
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether there are .pc files for libpcap" >&5
$as_echo_n "checking whether there are .pc files for libpcap... " >&6; }
if "$PKG_CONFIG" libpcap --exists ; then