2009-03-30 Tollef Fog Heen <tfheen@err.no>

* pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of
	precious directories.  (AC_ARG_VAR)
This commit is contained in:
Tollef Fog Heen 2009-03-30 20:06:32 +02:00
parent e3fda28e74
commit a25f7e980e
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2009-03-30 Tollef Fog Heen <tfheen@err.no>
* pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of
precious directories. (AC_ARG_VAR)
* popthelp.c (poptPrintUsage,poptPrintHelp): Add [LIBRARIES] to
help output. Debian #389066

5
pkg.m4
View file

@ -26,7 +26,10 @@
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
fi