Mesa (master): configure: error out when building backend-less libEGL

Emil Velikov evelikov at kemper.freedesktop.org
Tue Jun 23 16:07:39 UTC 2015


Module: Mesa
Branch: master
Commit: ddc886b5bfe5976fa2e5f49eeefa918736f1aa97
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddc886b5bfe5976fa2e5f49eeefa918736f1aa97

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Fri Jun 19 17:44:02 2015 +0100

configure: error out when building backend-less libEGL

Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 configure.ac |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 677fb5b..8e62bd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1542,8 +1542,12 @@ if test "x$enable_egl" = xyes; then
 
     if test "$enable_static" != yes; then
         if test "x$enable_dri" = xyes; then
-	    HAVE_EGL_DRIVER_DRI2=1
-	fi
+            HAVE_EGL_DRIVER_DRI2=1
+        else
+            # Avoid building an "empty" libEGL. Drop/update this
+            # when other backends (haiku?) come along.
+            AC_MSG_ERROR([egl requires --enable-dri])
+        fi
 
     fi
 fi




More information about the mesa-commit mailing list