]> git.sesse.net Git - vlc/commitdiff
Make PKG_CONFIG_PATH precious
authorChristophe Mutricy <xtophe@videolan.org>
Tue, 29 Jul 2008 21:30:47 +0000 (22:30 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 30 Jul 2008 00:03:21 +0000 (01:03 +0100)
configure.ac

index cf30d7a30ee8b8e1e1e693e0d12dbe21368b7111..71c589844bc0d44bb16d7d71ccdb760b657a6744 100644 (file)
@@ -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