From 42942898cbd64b4da5803e06433380b8ca8131ee Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Tue, 29 Jul 2008 22:30:47 +0100 Subject: [PATCH] Make PKG_CONFIG_PATH precious --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cf30d7a30e..71c589844b 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 -- 2.39.2