[Mesa-dev] [PATCH mesa] configure: EGL requirements only apply if EGL is built

Eric Engestrom eric.engestrom at intel.com
Mon Jan 21 19:51:47 UTC 2019


Fixes: 2c4f6ceeb466cb15df34 "configure.ac: Fail if egl x11 platform
                             dependencies are not available"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index c7473d77eff2345145ff..7530f65ad4a09d9b311c 100644
--- 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"
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list