[lokisetup] [PATCH] more control over static/dynamic linking

Ludwig Nussel ludwig.nussel at gmx.de
Wed Dec 15 18:07:50 EST 2004

Stephane Peter wrote:
> OK cool, I think I'll merge this, hoping it doesn't break non-Linux 
> support, which I really need to be functional. I also need all of these 
> to be static by default (even ncurses), if you don't mind.

Ok. There is a useless dependency on libgpm. configure checks libgpm
and adds -lgpm but doesn't define HAVE_LIBGPM. I'd just remove the
gpm checks as apparently noone missed gpm support.

JFYI loki-setup doesn't build on biarch architectures
(x86_64,ppc64,s390x) by default. One needs to export LIBSUFFIX=64.
It probably doesn't make sense to add checks for this to configure
as some distributions do not follow the lib/lib64 convention.


(o_  Ludwig.Nussel at gmx.de
V_/_ PGP Key ID: FF8135CE
-------------- next part --------------
Index: loki_setup/configure.in
--- loki_setup.orig/configure.in
+++ loki_setup/configure.in
@@ -265,8 +265,6 @@ AC_CHECK_HEADERS(libintl.h)
-AC_CHECK_LIB(gpm, Gpm_Open, USE_GPM=yes)
 dnl Check for gtk12 libraries in case those are available (FreeBSD)
 AC_CHECK_LIB(glib12, g_log, GTK12="12")
@@ -532,10 +530,6 @@ else
-if test ! -z "$USE_GPM"; then
 X11_LIBS="\$(BDYNAMIC) $X_PRE_LIBS -L$x_libraries -lXi -lXext -lX11 -lm"
 if test ! -z "$HAVEGTK"; then
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/lokisetup/attachments/20041216/9ba39a8a/attachment.pgp>

More information about the Lokisetup mailing list