[PATCH 2/2] configure: bail if Xephyr was requested but its dependencies are missing

Julien Cristau jcristau at debian.org
Thu Jun 24 10:45:11 PDT 2010


Signed-off-by: Julien Cristau <jcristau at debian.org>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1a1f2d3..6e95f1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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], [],
-- 
1.7.1



More information about the xorg-devel mailing list