From 1d1ec76bdf24a45cbfc919828ffb8e3f6788d725 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 24 Jul 2014 23:05:55 +0100 Subject: [PATCH] configure.ac: bail out if building gallium_gbm without gallium_egl The former is the only user of the latter. As such building gbm without egl makes little to no sense. Cc: "10.2" Signed-off-by: Emil Velikov --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index b27cfb3f41b..2b5cebed010 100644 --- a/configure.ac +++ b/configure.ac @@ -1352,6 +1352,10 @@ if test "x$enable_gallium_gbm" = xyes; then AC_MSG_ERROR([gbm_gallium requires --enable-dri to build]) fi + if test "x$enable_gallium_egl" != xyes; then + AC_MSG_ERROR([gbm_gallium is only used by egl_gallium]) + fi + GALLIUM_STATE_TRACKERS_DIRS="gbm $GALLIUM_STATE_TRACKERS_DIRS" GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS gbm" enable_gallium_loader=yes -- 2.30.2