[Top][All Lists]

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

Re: can I use pkg-config in my

From: Erik de Castro Lopo
Subject: Re: can I use pkg-config in my
Date: Tue, 27 May 2008 07:05:39 +1000

eawiggins wrote:

> I'm trying to convert to autoconf, automake, and it's a steep learning curve.
> Should I be able to put "$(shell pkg-config ...) lines in my,
> like I have below?

Not recommended.

If for instance you are doing a cross compiled configure, then pkg-config
may be named <cross-compiler-prefix>-pkg-config instead of pkg-config.

See for instance:

The pkg-config stuff should be done in the configure script.

For quite extensice use of pkg-config, have a look at and
Makefile.ams of my project:

Erik de Castro Lopo
"The Internet interprets censorship as damage, and routes around it."
  -- John Gilmore

reply via email to

[Prev in Thread] Current Thread [Next in Thread]