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

Jeremy White jwhite at
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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: removegpm.diff
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <>

More information about the Lokisetup mailing list