projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4f6b2
)
configure: EGL requirements only apply if EGL is built
author
Eric Engestrom
<eric.engestrom@intel.com>
Mon, 21 Jan 2019 19:44:45 +0000
(19:44 +0000)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Tue, 22 Jan 2019 16:12:40 +0000
(16:12 +0000)
Issue was hit with this configuration:
--disable-{egl,gbm} --with-platform=drm
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Fixes:
3208fd2e46b
("configure: move platform handling further up")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
c7473d7
..
7530f65
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1877,6
+1877,7
@@
for plat in $platforms; do
;;
drm)
+ test "x$enable_egl" = "xyes" &&
test "x$enable_gbm" = "xno" &&
AC_MSG_ERROR([EGL platform drm needs gbm])
DEFINES="$DEFINES -DHAVE_DRM_PLATFORM"