Use AC_X_EXTRA to get path to libSM
parent
6c9d7005af
commit
d612c6f11e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue