[vlc-devel] commit: Make PKG_CONFIG_PATH precious (Christophe Mutricy )

git version control git at videolan.org
Wed Jul 30 02:01:21 CEST 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Tue Jul 29 22:30:47 2008 +0100| [42942898cbd64b4da5803e06433380b8ca8131ee]

Make PKG_CONFIG_PATH precious

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

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index cf30d7a..71c5898 100644
--- a/configure.ac
+++ b/configure.ac
@@ -851,7 +851,9 @@ dnl Find where are the X headers and libraries
 AC_PATH_XTRA()
 
 dnl it seems that autoconf do the pkg-config detection only for the first PKG_CHECK_MODULES in the configure.ac ( which is logical) but in our case it is nested in a if so it was not working if you're not on linux or have disable hal.
-
+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 Check for hal




More information about the vlc-devel mailing list