Re: #define warnings when using various autotools projects

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

 



"Bruce Korb" <bruce.korb@xxxxxxxxx> writes:

> 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.  Cheers - Bruce

I use sed at configure time to muck with my package's main .h file. 

(But I don't install a config.h. That sounds a little scary.)

Ed


-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx


_______________________________________________
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