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>
This commit is contained in:
parent
16873a6e62
commit
1d1ec76bdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue