Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Buildingfreeciv
Home

[Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Buildingfreeciv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Buildingfreeciv
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Thu, 16 May 2002 16:34:09 +0200 (MEST)

On Wed, 15 May 2002, Davide Pagnin wrote:
> This is a proof of concept patch, with this patch the old readline
> library
> compile well and also the new readline compile well.
> I've chosen to implement this, adding a new define in acconfig.h
> HAVE_NEWREADLINE, and making the appropriate tests into configure.in
> (I hope to have done a good job, but it is my first hacking on configure
> scripts, so be careful where reviewing this).
> At the end I've patched server/stdinhand.h and server/stdinhand.c,
> adding the necessary nested #ifdef and #ifndef and by creating a
> macro to do the substitution of rl_completion_matches for us.
...
> P.S. With some effort and time, I can compile (or try to compile)
> freeciv,
> on this set of os/architecture.

I've reworked the patches so that they work also with autoconf 2.52, and
moved readline detection to m4/readline.m4 so that configure.[in|ac] can
share this code. Seems to work. It would be very nice if you could test
this patch on the platforms you mentioned.

Patch attached.

Yours,
Per

PS The previously posted --disable-autoconf2.52 patch to autogen.sh is
very nice for testing patches such as the above.

"As Israeli forces pursued militants, civilians
continued getting in the way and dying as a
result." -- New York Times, April 21

Attachment: readlinefix1.patch
Description: Text document


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