autoconf
[Top][All Lists]
Advanced

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

Re: generating pc file


From: Bob Friesenhahn
Subject: Re: generating pc file
Date: Thu, 20 Sep 2012 17:51:20 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Thu, 20 Sep 2012, Russ Allbery wrote:

That is why I use configure and config.status substitutions to build the
.pc file for my package. :-)

Thus making the problem much better by *guaranteeing* that the *.pc file
is wrong if there are any make-time overrides!  Er, wait....  :)

Yes. The only make-time override which has any business being used as part of a formal build process is DESTDIR used with 'make install'. Anything else is a hack. :-)

Regardless, the .pc file is likely incorrect for various stages of its lifetime. For example, the version in the build tree may be incorrect until everything is installed.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

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