Complete.Org: Mailing Lists: Archives: freeciv-dev: November 1998:
Re: [Freeciv-Dev] config.h patch
Home

Re: [Freeciv-Dev] config.h patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] config.h patch
From: Per Mathisen <permath@xxxxxxxxxxx>
Date: Fri, 13 Nov 1998 10:17:46 +0100 (MET)

On Fri, 13 Nov 1998, David Pfitzner wrote:
> 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.

I did not include them because I did not understand why they were
included. The way I though about it, an Imakefile compile would read the
default config.h shipped with the code (which could be hand-edited by 
the user), and get the default values there.

Granted, I know nothing about Imakefiles so this might be a dumb approach.
Just let me know and I'll make a patch with #ifdefs and #endifs.

Yours,
Per



[Prev in Thread] Current Thread [Next in Thread]