configure: bail if Xephyr was requested but its dependencies are missing

Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Julien Cristau 2010-06-24 18:45:11 +01:00 committed by Keith Packard
parent e6531ae9d5
commit 9626eedebf

View File

@ -2073,6 +2073,9 @@ if test "$KDRIVE" = yes; then
if test "x$XEPHYR" = xauto; then
XEPHYR=$xephyr
fi
if test "x$XEPHYR" = xyes && test "x$xephyr" = xno; then
AC_MSG_ERROR([Xephyr dependencies missing])
fi
# Xephyr needs nanosleep() which is in librt on Solaris
AC_CHECK_FUNC([nanosleep], [],