[MPlayer-dev-eng] [PATCH] pkg-config -> $PKG_CONFIG
Enrico Weigelt
weigelt at metux.de
Sat Feb 25 22:03:33 CET 2006
* The Wanderer <inverseparadox at comcast.net> schrieb:
<snip>
> I suspect without looking that this is derived from the mini-discussion
> a few threads over, in which it was proposed that we create our own
> 'pkg-config' to be used where a local one is not available and then
> switch configure over to use pkg-config exclusively for determining
> dependent-library CFLAGS and the like. In such a scenario, this variable
> would allow one to specify whether to use the system pkg-config or
> MPlayer's hypothetical internal one (which would probably just use the
> same logic as is currently present in configure).
Exactly. We simply move out the detection logic currently sitting
configure into an separte script providing the "standardized"
pkg-config interface. By default, this one is called by configure,
but if $PKG_CONFIG is set, it takes this one.
The changes to the configure script would be quite minimal, debugging
it would be a little bit easier, and its easily interceptable for
those folks using non-standard installations, sysroot'ing, etc.
cu
--
"*Who am I*? I am Susan Ivanova, Commander, daughter of Andrei and Sophie
Ivanova. I am the right hand of vengeance, and the boot that is going
to kick your sorry ass all the way back to Earth... I am Death Incarnate,
and the last living thing that you are ever going to see. God sent me."
-- Cmdr. Ivanova
More information about the MPlayer-dev-eng
mailing list