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: "Daniel Speyer" <Daniel_Speyer@xxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Compiling with readline < 4.2
From: Thue <thue@xxxxxxx>
Date: Sun, 1 Jul 2001 22:42:57 +0200

On Sunday 01 July 2001 20:25, Daniel Speyer wrote:
> 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.

Blrg.
Yes, I see your point.
But I really like to just require the latest readline lib; so much 
cleaner... And readline is not critical for running a server...

-Thue


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