[MPlayer-dev-eng] [PATCH] directfb -> pkg-config
Rich Felker
dalias at aerifal.cx
Thu Feb 16 22:15:25 CET 2006
On Thu, Feb 16, 2006 at 08:39:48PM +0100, Diego Biurrun wrote:
> On Thu, Feb 16, 2006 at 12:50:47PM -0500, Rich Felker wrote:
> > On Thu, Feb 16, 2006 at 04:18:31PM +0100, Reimar Doeffinger wrote:
> > > On Thu, Feb 16, 2006 at 03:36:38AM +0100, Enrico Weigelt wrote:
> > > > * Reimar Doeffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> schrieb:
> > > > > Please do _not_ remove the old detection code, if possible detection
> > > > > should work without requiring pkg-config.
> > > >
> > > > I think, we *should* remove it. Its not needed anylonger, and we
> > > > should remove unnecessary complexity.
> > >
> > > But what would happen on systems without pkg-config? And yes, I think
> > > there was at least one complaint because some detection did not work
> > > without it...
> >
> > I do not use this functionality, but I strongly dislike pkg-config and
> > would prefer that we support systems without it.
>
> Why? Seems like a really neat idea to me...
Why should you need a special program to tell you custom CFLAGS, etc.
for using a library? If the library is properly installed, just -lfoo
should be sufficient. Having pkg-config randomly add its own
CFLAGS/LDFLAGS/etc. to your program's build could interfere with other
things and is just broken in concept.
If the user has installed the library _incorrectly_, such as in odd
nonstandard locations, they should know this and use whatever
extralibs/extrainclude option is needed.
Rich
More information about the MPlayer-dev-eng
mailing list