[vlc-devel] [PATCH] configure: remove the PKG_CONFIG_PATH variable

Steve Lhomme robux4 at ycbcr.xyz
Mon Mar 18 15:04:51 CET 2019


It's already set by the PKG_PROG_PKG_CONFIG call below with a nicer order of
variables and more official documentation.
---
 configure.ac | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 64ec5c4cdd..c9fb43bc74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -919,9 +919,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
-- 
2.17.1



More information about the vlc-devel mailing list