Mesa (master): configure.ac: bail out if building gallium_gbm without gallium_egl
Emil Velikov
evelikov at kemper.freedesktop.org
Tue Aug 12 22:36:46 UTC 2014
Module: Mesa
Branch: master
Commit: 1d1ec76bdf24a45cbfc919828ffb8e3f6788d725
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d1ec76bdf24a45cbfc919828ffb8e3f6788d725
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jul 24 23:05:55 2014 +0100
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 at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index b27cfb3..2b5cebe 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
More information about the mesa-commit
mailing list