From a179f3645f5865d43ecaf6cb7ffba42922e01cce Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Mon, 18 Mar 2019 15:04:26 +0100
Subject: [PATCH] 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.
---
 configure.ac | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 36d8095f0fcb..c36ab9940c17 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
-- 
GitLab