Re: [Freeciv-Dev] config.h patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Per Mathisen wrote:
>
> Is there interest in moving freeciv autoconf to config.h instead of using
> dozens of -D compile time messages?
I think it is probably a good idea.
Presumably it also allows us the check whether configure is being
used (as opposed to the unsupported Imakefile and Makefile.noimake)
eg:
#if !defined(HAVE_CONFIG_H) || defined(HAVE_STRERROR)
/* use real strerror */
#else
/* workaround */
#endif
Or is that a bad approach in general and/or in this case?
One question: in Markus Linnala's he used:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
while you just use
#include <config.h>
Was that deliberate on you part? The former seems a good idea to me.
-- David
- [Freeciv-Dev] config.h patch, Per Mathisen, 1998/11/11
- Re: [Freeciv-Dev] config.h patch, Mirar, 1998/11/11
- Re: [Freeciv-Dev] config.h patch,
David Pfitzner <=
- Re: [Freeciv-Dev] config.h patch, Mitch Davis, 1998/11/12
- Re: [Freeciv-Dev] config.h patch, Per Mathisen, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, Mirar, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, Reinier Post, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, Mirar, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, Mirar, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, Mitch Davis, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, Trent Piepho, 1998/11/13
- Re: [Freeciv-Dev] config.h patch, David Pfitzner, 1998/11/13
|
|