libbonobo-2.0 >= 1.107.0 \
gtk+-2.0 > 2.0.0 \
atk >= 1.3.4)
-REGISTRYD_LIBS="$REGISTRYD_LIBS"
AC_SUBST(REGISTRYD_LIBS)
AC_SUBST(REGISTRYD_CFLAGS)
PKG_CHECK_MODULES(ATK_BRIDGE, \
libbonobo-2.0 >= 1.107.0 \
atk >= 1.3.4)
-ATK_BRIDGE_LIBS="$ATK_BRIDGE_LIBS"
AC_SUBST(ATK_BRIDGE_LIBS)
AC_SUBST(ATK_BRIDGE_CFLAGS)
CFLAGS="$CFLAGS $X_LIBS"
dnl path to Xtst
-AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst)
-if test "x$XTST_LIBS" = x; then
- AC_MSG_ERROR(Couldn't find the Xtst library. Check config.log for details)
-fi
+AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst,[
+ AC_MSG_ERROR([Couldn't find the Xtst library. Check config.log])],
+ -lX11 -lXext)
AC_SUBST(XTST_LIBS)
have_xkb=