[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sr #108144] ./configure could recommend packages to install through
Re: [sr #108144] ./configure could recommend packages to install through local package manager
Thu, 27 Sep 2012 23:32:48 +0300
On Thu, Sep 27, 2012 at 12:47:05PM -0700, Paul Eggert wrote:
> On 09/27/2012 12:18 PM, Eric Blake wrote:
> > your request sounds
> > something more like what pkg-config would be able to do than autoconf proper
> I like the idea of autoconf-generated scripts using
> pkg-config to find out what compiler and linker options
> to use. That's not what the requester asked for, but
> it would be a step in that direction. Emacs
> 'configure' does that, and the technique could be
> autoconfized, if someone could find the time.
I somehow miss what you have in mind.
What emacs 24.2 has is an own copy (why?) of the PKG_CHECK_MODULES macro
that is shipped as part of pkg-config, and that is today the de-facto
standard for library detection and library specific LIBS and CFLAGS
setting in open source software.
Anything I miss here?
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed