[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #define warnings when using various autotools projects
From: |
aaragon |
Subject: |
Re: #define warnings when using various autotools projects |
Date: |
Tue, 13 May 2008 13:07:25 -0700 (PDT) |
Bugzilla from address@hidden wrote:
>
> On Tue, 13 May 2008, John Calcote wrote:
>>> For my own project, I use two "config.h" files. One is used to build
>>> the software and the other is trimmed down to support only what is
>>> actually needed to define the interface header ABI.
>>
>> And what if a user decided to run "make install" to put your public
>> headers into his or her /usr/local/include directory? Or even
>> worse--what if a distro packager decides to provide a "devel" package
>> for your project that installs your public headers into "/usr/include"?
>> How is it that you're okay claiming ownership of the one "config.h"
>> header that is allowed to exist in this directory?
>
> 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.
>
> Bob
> ======================================
> Bob Friesenhahn
> address@hidden, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
>
>
>
> _______________________________________________
> Autoconf mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
>
>
Could you please expand on this? I don't really understand what you're
talking about. The config.h file has just a bunch of #define statements and
there is no namespace (and I don't think that hardcoding one is the way
out).
Thanks.
aa
--
View this message in context:
http://www.nabble.com/-define-warnings-when-using-various-autotools-projects-tp17198634p17217223.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.
- #define warnings when using various autotools projects, aaragon, 2008/05/12
- Re: #define warnings when using various autotools projects, John Calcote, 2008/05/13
- Re: #define warnings when using various autotools projects, Bob Friesenhahn, 2008/05/13
- Re: #define warnings when using various autotools projects, Bruce Korb, 2008/05/13
- Re: #define warnings when using various autotools projects, Ed Hartnett, 2008/05/13
- Re: #define warnings when using various autotools projects, Ralf Wildenhues, 2008/05/18
- Re: #define warnings when using various autotools projects, aaragon, 2008/05/18
- Re: #define warnings when using various autotools projects, Stepan Kasal, 2008/05/19
- Re: #define warnings when using various autotools projects, Peter Simons, 2008/05/23
- Re: #define warnings when using various autotools projects, Ralf Wildenhues, 2008/05/24
- Re: #define warnings when using various autotools projects, Peter Simons, 2008/05/25
- Re: #define warnings when using various autotools projects, Stepan Kasal, 2008/05/28