[lokisetup] Prevent the linking of gpm in when we don't need it

Stéphane Peter megastep at megastep.org
Tue Feb 7 12:02:25 EST 2006

The main reason we had GPM linked in was because the dialog library  
is actually able to use it so you can click on the buttons in the  
text dialogs. But yeah it is really quite outdated. Our build boxes  
probably all had static versions of the library.

On Feb 7, 2006, at 8:34 AM, Jeremy White wrote:

> It looks like setup rarely (never?) uses GPM, and yet if
> it's on the build system, it gets linked in.
> What's worse, it gets linked in dynamically.  This means
> that on a system with no libgpm (i.e. my 32 bit emul
> environment), setup fails to run.
> This patch modifies the linker so that if NCURSES_MOUSE_VERSION
> is defined, we don't use gpm.
> If it would be better to just strip gpm out altogether,
> let me know, I can work up a patch for that too.
> Cheers,
> Jeremy

Stéphane Peter
megastep at megastep.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/lokisetup/attachments/20060207/81c69443/attachment.htm>

More information about the Lokisetup mailing list