diff options
author | Emil Velikov <[email protected]> | 2014-07-24 23:05:55 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-08-12 23:36:06 +0100 |
commit | 1d1ec76bdf24a45cbfc919828ffb8e3f6788d725 (patch) | |
tree | a5e44e78950e469ecb34ca75a6c1151ba36b8a2b | |
parent | 16873a6e62e2dc7de1f247e8cae1b40bd813a117 (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" <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
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 |