Restructured docs directory, added docs/reference/idl and docs/reference/cspi.
[platform/core/uifw/at-spi2-atk.git] / configure.in
index 2b8b2ea..70424f7 100644 (file)
@@ -117,6 +117,25 @@ LIBBONOBO_IDL_DIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
 AC_SUBST(BONOBO_ACTIVATION_IDL_DIR)
 AC_SUBST(LIBBONOBO_IDL_DIR)
 
+dnl path to Xtst
+AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst)
+if test "x$XTST_LIBS" = x; then
+  save_LIBS="$LIBS"
+  for xtstpath in /usr/X11R6/lib /usr/openwin/lib; do
+    LIBS="-L$xtstpath -lXtst"
+    AC_MSG_CHECKING(for -lXtst in $xtstpath)
+    AC_TRY_LINK([], [XTestFakeKeyEvent()], [
+       AC_MSG_RESULT(yes)
+       XTST_LIBS="-L$xtstpath -lXtst"
+        LIBS="$save_LIBS"
+       break],[AC_MSG_RESULT(no)])
+  done
+  if test "x$XTST_LIBS" = x; then
+    AC_MSG_ERROR(Couldn't find the Xtst library. Check config.log for details)
+  fi
+fi
+AC_SUBST(XTST_LIBS)
+
 AC_SUBST(CFLAGS)
 AC_SUBST(CPPFLAGS)
 AC_SUBST(LDFLAGS)
@@ -129,6 +148,9 @@ Makefile
 at-spi-1.0.pc
 po/Makefile.in
 docs/Makefile
+docs/reference/Makefile
+docs/reference/idl/Makefile
+docs/reference/cspi/Makefile
 idl/Makefile
 libspi/Makefile
 registryd/Makefile