Hello,
On Tue, Aug 01, 2006 at 06:02:44AM -0400, Thomas Dickey wrote:
> On Tue, 1 Aug 2006, [EMAIL PROTECTED] wrote:
> >So you would first check for the existence of pkg-config (and complain
> >if not there) and then use it to get the info needed.
>
> and inevitably (since there's more than one version of pkg-config) start
> to accumulate autoconf macros to filter through incompatibilities
> therein...
well, pkg-config comes with macro PKG_PROG_PKG_CONFIG([MIN-VERSION])
which enables you to enforce a minimal version of pkg-config.
And it comes with macro PKG_CHECK_MODULES, which readily sets
*_CFLAGS and *_LIBS. Unfortunately, it does not understand the need
of *_CPPFLAGS, which can be set by --cflags-only-I.
Have a nice day,
Stepan Kasal
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf