Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2001:
[Freeciv-Dev] Re: readline 4.2
Home

[Freeciv-Dev] Re: readline 4.2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: readline 4.2
From: Greg Wooledge <greg@xxxxxxxxxxxx>
Date: Sun, 29 Apr 2001 18:11:32 -0400

Erik Sigra (sigra@xxxxxxx) wrote:

> Thanks. I modified configure.in and it worked. The civserver command line is 
> so much nicer now! I replaced "-lreadline" with "-lncurses -lreadline" and 
> then with "-lreadline -lcurses". Both variants worked.

That's linker dependent.  The GNU ld doesn't care about the order in which
libraries appear, but older versions of Unix ld do.

> Since you seem to know 
> this stuff, could you please make a patch for configure.in?

Well, here's a rough one.  It might not handle the non-GNU ld cases
properly, or the non-ncurses cases (in other words, I didn't test it
on anything but my Debian system).  But it might be useful as the basis
for a better patch....

I ripped some of the termcap detection code from LAME, which is GPL.
So there shouldn't be any license problems.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg@xxxxxxxxxxxx              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Attachment: fc-readline-curses
Description: Text document

Attachment: pgpn9qZwp_2E8.pgp
Description: PGP signature


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