Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: win32 server
Home

[Freeciv-Dev] Re: win32 server

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: win32 server
From: Dirk Stoecker <stoecker@xxxxxxxxxxxxxx>
Date: Wed, 24 Jan 2001 07:41:47 +0100 (MET)
Reply-to: Dirk Stoecker <stoecker@xxxxxxxxxxxxxx>

Hi,

this is a bit of message compilation due to my reply-to errors :-)

>>> For windows we have only the few calls in init_nls we need to do
>>> it. We would have a lot of code twice if we had a special
>>> gettext.c for windows.

>> The point is that the special code is already there. The only
>> thing you have to do is move it to the common directory and add
>> appropriate #ifdef and configure magic to make sure there is no
>> stomping of toes.

> Common is not the right directory anyway. Either leaving it in amiga
> with some additional ifdefs or moving it to a new drawer "misc". I
> would not like to have such rudimentary replacements in the main
> directories.

[example if ifdef source send by Andreas ...]

> What's the way to proceed? Should I cut the intl stuff from that
> patch and resend it again? I18n is nice but the server will work
> without it. 
> 
> I don't know how to do the autoconf stuff which is needed to integrate
> gettext.c into the win32 build. Can you help, please? I define
> WIN32_NATIVE in configure.in/acconfig.h when a mingw32 system is detected.

I don't know much about autoconf, so maybe others can help here. For the
first step I would say leave the "patched" code in amiga directory
instead of resubmitting in win directory. Whenever the i18n interface
access of freeciv changes, I will modify this source also, so it stays
up-to-date (as long as work with freeciv :-).
Maybe in a later step a new misc directory like suggested above will be
created.

Ciao
 ____  _ _  ____  _ _    _ _  ____
|    |  |  |    |  | \  / |  |    | the cool Gremlin from Bischofswerda
|  __   |   ____|  |  \/  |  |    | WWW: http://home.pages.de/~stoecker/
|    |  |  |       |      |  |    | PGP key available on www page.
|____| _|_ |____| _|_    _|_ |____| I hope AMIGA never ends to make fun!





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