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:
parent
e6531ae9d5
commit
9626eedebf
|
@ -2073,6 +2073,9 @@ if test "$KDRIVE" = yes; then
|
||||||
if test "x$XEPHYR" = xauto; then
|
if test "x$XEPHYR" = xauto; then
|
||||||
XEPHYR=$xephyr
|
XEPHYR=$xephyr
|
||||||
fi
|
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
|
# Xephyr needs nanosleep() which is in librt on Solaris
|
||||||
AC_CHECK_FUNC([nanosleep], [],
|
AC_CHECK_FUNC([nanosleep], [],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user