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

Jeremy White jwhite at codeweavers.com
Tue Feb 7 11:34:39 EST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: removegpm.diff
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://icculus.org/pipermail/lokisetup/attachments/20060207/cd2450a0/attachment.bin>


More information about the Lokisetup mailing list