[vlc-commits] configure: remove the PKG_CONFIG_PATH variable

Steve Lhomme git at videolan.org
Tue Mar 19 11:55:23 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 18 15:04:26 2019 +0100| [a179f3645f5865d43ecaf6cb7ffba42922e01cce] | committer: Steve Lhomme

configure: remove the PKG_CONFIG_PATH variable

It's already set by the PKG_PROG_PKG_CONFIG call below with a nicer order of
variables and more official documentation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a179f3645f5865d43ecaf6cb7ffba42922e01cce
---

 configure.ac | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 36d8095f0f..c36ab9940c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -923,9 +923,6 @@ AC_CHECK_TYPE(ssize_t,, [
 dnl It seems that autoconf detects pkg-config only during the first
 dnl PKG_CHECK_MODULES from configure.ac - which makes sense. But in our case,
 dnl it is nested within a conditional block, so it was not working right.
-dnl Make PKG_CONFIG_PATH precious so that it appears in the help and get saved
-AC_ARG_VAR(PKG_CONFIG_PATH,
-       [Paths where to find .pc not at the default location])
 PKG_PROG_PKG_CONFIG()
 
 dnl On some OS we need static linking



More information about the vlc-commits mailing list