[MPlayer-dev-eng] [patch 1/2] configure: respect $PKG_CONFIG

Mike Frysinger vapier at gentoo.org
Sun Apr 8 23:09:44 CEST 2012


the build should respect the env $PKG_CONFIG just like the upstream pkg-config 
intended (see pkg.m4) which makes it work like every autotools based pkg out 
there.

(please cc me as i'm not on the list)
-mike

--- configure	(revision 34835)
+++ configure	(working copy)
@@ -4042,7 +4042,7 @@ echores "$_apple_ir"
 fi #if linux
 
 echocheck "pkg-config"
-_pkg_config=pkg-config
+_pkg_config=${PKG_CONFIG:-pkg-config}
 if $($_pkg_config --version > /dev/null 2>&1); then
   if test "$ld_static"; then
     _pkg_config="$_pkg_config --static"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120408/521d2b98/attachment.asc>


More information about the MPlayer-dev-eng mailing list