bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libgpm soname option


From: Thomas Dickey
Subject: Re: libgpm soname option
Date: Sun, 10 Dec 2006 18:18:41 -0500 (EST)

On Sun, 10 Dec 2006, Bryan Henderson wrote:

I have struggled for years with the problems of libncurses and libgpm
prerequiring each other.  I just got Ncurses 5.5 and discovered that
the struggle is different now because libncurses loads libgpm
dynamically.

So I would like to suggest that there be a configuration option to
supply the soname of the libgpm to load, e.g. --with-libgpm=libgpm.so.1 .
When the user specifies that, 'configure' could skip the magic it does
to figure out the proper soname (which, incidentally, does not work on
my system).

oh (I'd like to make the default value smarter - more info would be useful)

Along with that, I suggest that the defaulting when 'configure' can't
figure it out and the user doesn't specify it be put in 'configure'
instead of in libmouse.c and the "configuration summary" that
'configure' writes as it exits include the soname, e.g. "soname for
dynamic loading of libgpm: libgpm.so".

sounds reasonable...

I don't know enough Autoconf to write code for this myself.


One other comment in this area: under some conditions, I got
'configure' to warn me: "WARNING: GPM library is already linked with
curses - read the FAQ."  I don't know what that means, and I can't
find any FAQ.

        http://invisible-island/ncurses/ncurses.faq.html

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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