Re: #define warnings when using various autotools projects

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

 



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
> <bfriesen@xxxxxxxxxxxxxxxxxxx> 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


_______________________________________________
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