[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg-config wisdom
From: |
William Pursell |
Subject: |
Re: pkg-config wisdom |
Date: |
Sun, 25 Oct 2009 11:07:56 -1000 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Alfred M. Szmidt wrote:
> > pkg-config is broken because it checks for the existance of
> > libraries, and not for the features that are required for the
> > program to run.
>
> It does not even check for the existence of libraries.
> It checks for the existence of a .pc file and assumes
> that the user (or administrator) has supplied the correct
> information.
>
> Sighs, which is the exact same thing.
>
No, it is not the same thing. The user can construct
foo.pc to add -lbar to the build when the
package requests libfoo. The user has more
control over certain aspects of the build,
but less safety because no checks are
done during configure time to ensure
that libbar even exists, unless the
maintainer takes extra steps to do so
beyond invoking PKG_CHECK_MODULES. There
is an extra level of indirection available
to the user at configure time.
--
William Pursell
- Re: pkg-config wisdom, (continued)
- Re: pkg-config wisdom, Adam Mercer, 2009/10/22
- Re: pkg-config wisdom, Alfred M. Szmidt, 2009/10/22
- Re: pkg-config wisdom, William Pursell, 2009/10/23
- Re: pkg-config wisdom, Alfred M. Szmidt, 2009/10/24
- Re: pkg-config wisdom, Russell Shaw, 2009/10/24
- Re: pkg-config wisdom, William Pursell, 2009/10/25
- Re: pkg-config wisdom, Alfred M. Szmidt, 2009/10/25
- Re: pkg-config wisdom, William Pursell, 2009/10/25
- Re: pkg-config wisdom, Alfred M. Szmidt, 2009/10/25
- Re: pkg-config wisdom,
William Pursell <=
- Re: pkg-config wisdom, Tim Post, 2009/10/26
- Re: pkg-config wisdom, Russell Shaw, 2009/10/25
- Re: pkg-config wisdom, Tim Post, 2009/10/26
- Re: pkg-config wisdom, Andrew W. Nosenko, 2009/10/23
- Re: pkg-config wisdom, John Calcote, 2009/10/23
- Re: pkg-config wisdom, Ben Pfaff, 2009/10/23
- Re: pkg-config wisdom, Bob Friesenhahn, 2009/10/24
- Re: pkg-config wisdom, Peter Johansson, 2009/10/24
- Re: pkg-config wisdom, Bob Friesenhahn, 2009/10/24
- Re: pkg-config wisdom, Ralf Wildenhues, 2009/10/25