[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #define warnings when using various autotools projects
From: |
Bob Friesenhahn |
Subject: |
Re: #define warnings when using various autotools projects |
Date: |
Tue, 13 May 2008 15:16:58 -0500 (CDT) |
On Tue, 13 May 2008, aaragon wrote:
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).
I use this in configure.ac:
AC_CONFIG_HEADERS([magick/magick_config.h magick/magick_config_api.h])
with magick/magick_config.h being used to build the software, and
magick/magick_config_api.h installed as magick/magick_config.h at
installation time. The magick/magick_config_api.h.in template file
needs to be hand-maintained and contains only what is required to
satisfy the library headers.
It seems that I (somewhat) lied about the define naming. As long as
the number of definitions required is small, you can provide your own
with a useful prefix (e.g. "ARAGON_FOO") so that they won't be
confused with some other package's definitions.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
- #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