summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-07-24 23:05:55 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-08-25 23:32:36 +0100
commitcdfc7c6c740cb72a85bd4b8ec517ef5488ae2f1a (patch)
tree7b5ebb5b2f664ee24585b131d6c00f044206eaf8 /configure.ac
parent62f60edd77be354ce4c2f2a002067cd4fa8267cd (diff)
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" <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit 1d1ec76bdf24a45cbfc919828ffb8e3f6788d725)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b8f584c987d..dbfc4fc24b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1273,6 +1273,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