Re: finding the location of header (.h) files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, Aug 01, 2006 at 06:02:44AM -0400, Thomas Dickey wrote:
> On Tue, 1 Aug 2006, tomas@xxxxxxxxxx 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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux