[Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Buildingfreeciv
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
readlinefix1.patch
Description: Text document
|
|