Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] Re: Compiling with readline < 4.2
Home

[Freeciv-Dev] Re: Compiling with readline < 4.2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: thue@xxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Compiling with readline < 4.2
From: "Daniel Speyer" <Daniel_Speyer@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 01 Jul 2001 14:25:57 -0400

thue@xxxxxxx,Internet writes:
>On Sunday 01 July 2001 00:26, Thue wrote:
>> Here is an addion to INSTALL describing how to compile with readline
>> < 4.2.
>>
>> -Thue
>
>Oh, and the patch.
>
>-Thue *going to bed*
>

This seems a bit awkward, seeing as Redhat 7.1 and Mandrake 8.0 both ship
with readline 4.1.  Shouldn't it be possible to add something like

#ifndef RL_STATE_NONE /*Only exists in readline 4.2*/
#define rl_filename_completion_function filename_completion_function
#endif

to some header file (probably server/stdinhand.h) and do something similar
with freeciv_completion()?  It's not really fair that users of current
distros should have to upgrade a library or modify source.

Jut my US$0.02
--Daniel Speyer
"May the /src be with you, always"




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