Use AC_X_EXTRA to get path to libSM

master
Yevgen Muntyan 2007-05-08 15:57:04 -05:00
parent 6c9d7005af
commit d612c6f11e
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ AC_DEFUN_ONCE([MOO_AC_FLAGS],[
AC_REQUIRE([MOO_AC_CHECK_OS])
AC_REQUIRE([MOO_AC_SET_DIRS])
AC_PATH_XTRA
MOO_AC_FUNCS
MOO_PKG_CHECK_GTK_VERSIONS
MOO_AC_DEBUG

View File

@ -18,8 +18,8 @@ libsmclient_la_SOURCES = \
libsmclient_la_LIBADD =
if GDK_X11
AM_CFLAGS += -DEGG_SM_CLIENT_BACKEND_XSMP
libsmclient_la_LIBADD += -lSM -lICE
AM_CFLAGS += $(X_CFLAGS) -DEGG_SM_CLIENT_BACKEND_XSMP
libsmclient_la_LIBADD += $(X_LIBS) $(X_EXTRA_LIBS) -lSM -lICE
libsmclient_la_SOURCES += eggsmclient-xsmp.c
endif GDK_X11