summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-06-19 17:44:02 +0100
committerEmil Velikov <[email protected]>2015-06-23 17:07:32 +0100
commitddc886b5bfe5976fa2e5f49eeefa918736f1aa97 (patch)
treec2c8a50b6bff766c4abab54b3ac65e974c4f82f6 /configure.ac
parent2752e629e71a8b4345b61f55b09d5ed04fc5e4b8 (diff)
configure: error out when building backend-less libEGL
Cc: "10.5 10.6" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 677fb5bbb89..8e62bd893ee 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