From: Emil Velikov Date: Thu, 24 Jul 2014 22:05:55 +0000 (+0100) Subject: configure.ac: bail out if building gallium_gbm without gallium_egl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d1ec76bdf24a45cbfc919828ffb8e3f6788d725;p=mesa.git 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 --- 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