# HG changeset patch # User Matti Hamalainen # Date 1208752287 -10800 # Node ID 171e3b90d7184724965e4afda16edc63b377c1e4 # Parent 042eaca39ded46982bfd39bfd9c0e0c5d1be9f3b Fix libeggsmclient compilation under the new configure. diff -r 042eaca39ded -r 171e3b90d718 src/libeggsmclient/Makefile --- a/src/libeggsmclient/Makefile Mon Apr 21 07:30:57 2008 +0300 +++ b/src/libeggsmclient/Makefile Mon Apr 21 07:31:27 2008 +0300 @@ -5,8 +5,8 @@ else platform_sources = eggsmclient-xsmp.c \ eggdesktopfile.c -platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP -platform_libs = -lSM -lICE +platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP ${SM_CFLAGS} +platform_libs = ${SM_LIBS} endif STATIC_LIB_NOINST = libeggsmclient.a @@ -17,6 +17,6 @@ include ../../buildsys.mk include ../../extra.mk -CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I. ${platform_defines} +CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I../.. -I. ${platform_defines} LIBS += ${GLIB_LIBS} ${GTK_LIBS} ${platform_libs} CPPFLAGS += ${CFLAGS} diff -r 042eaca39ded -r 171e3b90d718 src/libeggsmclient/eggsmclient-xsmp.c --- a/src/libeggsmclient/eggsmclient-xsmp.c Mon Apr 21 07:30:57 2008 +0300 +++ b/src/libeggsmclient/eggsmclient-xsmp.c Mon Apr 21 07:31:27 2008 +0300 @@ -21,7 +21,7 @@ * Boston, MA 02111-1307, USA. */ -#include "../../config.h" +#include "config.h" #include "eggsmclient.h" #include "eggsmclient-private.h"