[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg-config wisdom
From: |
Alfred M. Szmidt |
Subject: |
Re: pkg-config wisdom |
Date: |
Thu, 22 Oct 2009 17:50:57 -0400 |
> I imagine that pkg-config has not been integrated into Autoconf
> because it does not fit well into the Autoconf philosophy.
I use pkg-config quite heavily in one of my projects, I'm just
wondering is there a more "autoconf" way of performing the same
task as I constantly run into different problems related to finding
flags etc.. using pkg-config.
The way is to simply not use pkg-config, and use AC_CHECK_* functions
to find what is needed; and let the user specify where/what, using
*FLAGS.
pkg-config tries to solve an important problem, but it does so in the
wrong way. pkg-config checks for an exact library name, and
optionally exact version numbers. A similar library can exist with
the same API, but with different name and version, in which case any
checks done by PKG_CHECK_* during configure will fail.
Autoconf works by testing specific features, hence why it doesn't fit
with the autoconf philosophy.
- pkg-config wisdom, Murray S. Kucherawy, 2009/10/22
- Re: pkg-config wisdom, Ben Pfaff, 2009/10/22
- RE: pkg-config wisdom, Murray S. Kucherawy, 2009/10/22
- Re: pkg-config wisdom, Adam Mercer, 2009/10/22
- Re: pkg-config wisdom,
Alfred M. Szmidt <=
- 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, 2009/10/25
- Re: pkg-config wisdom, Tim Post, 2009/10/26
- Re: pkg-config wisdom, Russell Shaw, 2009/10/25