Fix test for Xnest presence. (Donnie Berkholz)

This commit is contained in:
Daniel Stone 2005-08-23 08:59:30 +00:00
parent fed61462be
commit 27afac2ce6
1 changed files with 2 additions and 1 deletions

View File

@ -538,8 +538,9 @@ fi
dnl Xnest DDX
AC_MSG_CHECKING([whether to build Xnest DDX])
PKG_CHECK_MODULES(XNESTMODULES, [xfont xext x11], [have_xnest=yes], [have_xnest=no])
if test "x$XNEST" = xauto; then
PKG_CHECK_MODULES(XNESTMODULES, [xfont xext x11], [XNEST=yes], [XNEST=no])
XNEST="$have_xnest"
fi
AC_MSG_RESULT([$XNEST])
AM_CONDITIONAL(XNEST, [test "x$XNEST" = xyes])