+2002-03-11 Bill Haneman <bill.haneman@sun.com>
+
+ * configure.in:
+ Added X_LIBS to AC_SUBST, for applications
+ that call Xlib API directly.
+
+
2002-03-07 Bill Haneman <bill.haneman@sun.com>
* configure.in:
dnl to make this work with the tarballs.
AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
+AC_PATH_XTRA
+
+if test x$no_x = xyes ; then
+ AC_MSG_ERROR([X development libraries not found])
+else
+ X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+fi
+
+AC_SUBST(X_LIBS)
+
dnl Checks for libraries
PKG_CHECK_MODULES(LIBSPI, \
libbonobo-2.0 >= 1.107.0 \
CFLAGS += $(TESTS_CFLAGS) $(DEBUG_CFLAGS)
-LDADD = ../util/libat-util.la ../libspi/libspi.la ../cspi/libcspi.la $(TESTS_LIBS)
+LDADD = ../util/libat-util.la ../libspi/libspi.la ../cspi/libcspi.la $(TESTS_LIBS) $(X_LIBS)
-TESTS = test-simple
\ No newline at end of file
+TESTS = test-simple
orbittypelibdir = $(libdir)/orbit
-LDADD = $(UTILS_LIBS)
+LDADD = $(UTILS_LIBS) $(X_LIBS)
serverinfodir = $(libdir)/bonobo/servers
serverinfo_DATA = Accessibility_Util.server