Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
April 2001: [Freeciv-Dev] Re: readline 4.2 |
[Freeciv-Dev] Re: readline 4.2[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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/ |
fc-readline-curses
pgpn9qZwp_2E8.pgp
|