autoconf
[Top][All Lists]
Advanced

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

Re: #define warnings when using various autotools projects


From: Ralf Wildenhues
Subject: Re: #define warnings when using various autotools projects
Date: Sun, 18 May 2008 14:21:09 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello,

* Bruce Korb wrote on Tue, May 13, 2008 at 10:21:20PM CEST:
> On Tue, May 13, 2008 at 12:16 PM, Bob Friesenhahn
> <address@hidden> wrote:
> >  Quite simple.  I use a namespace-scoped name for the publically installed
> > "config.h".  I also use namespace-scoped defines in the publically installed
> > "config.h".  This is much simpler than the various complex substitution
> > schemes I have seen described on this list and elsewhere.
> 
> Ultimately, I settled on "sed(1)" in an "install-data-hook" rule to
> patch up the header.  I don't want to install my "config.h", scoped
> names or not, and yet I need to know some of the config stuff.  There
> is a need for a "preferred method" for doing this and
> documenting how you do it.

You can use the AX_PREFIX_CONFIG_H macro from the Autoconf Macro
Archive, <http://autoconf-archive.cryp.to/ax_prefix_config_h.html>.

Cheers,
Ralf




reply via email to

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