]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Note that we don't need to worry about pkg-config lacking --exists.
authorGuy Harris <[email protected]>
Tue, 30 Apr 2019 07:25:37 +0000 (00:25 -0700)
committerGuy Harris <[email protected]>
Tue, 30 Apr 2019 07:25:55 +0000 (00:25 -0700)
[skip ci]

aclocal.m4
configure

index 2326db0a218009f21feb3c14257c50faef69da32..d0e0705a1d3caf34babee2f0e15b1857c30a918a 100644 (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
                 #
index afd5fb5a466341243ea92d5b0e35eee240fa2774..95cc526114977d5cef6973efc64177151c5f57fe 100755 (executable)
--- a/configure
+++ b/configure
@@ -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