diff options
author | Emil Velikov <[email protected]> | 2015-07-10 11:01:55 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-08-01 15:41:23 +0100 |
commit | fa109d02dda118f756903b663879375c06353ae7 (patch) | |
tree | adcba711e3538c6c90855f3c3af3be474325c046 /configure.ac | |
parent | 57c670a823e55f5dd1fb2eb3d15e7db0a4f5c07a (diff) |
egl/wayland: libdrm is a hard requirement, treat it as such
Prompt at configure time if it's missing otherwise we'll fail later on
in the build. Remove ambiguous HAVE_LIBDRM guard.
Cc: 10.6 <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6636ee4769f..bfe7f80fe6f 100644 --- a/configure.ac +++ b/configure.ac @@ -1740,6 +1740,9 @@ egl_platforms=`IFS=', '; echo $with_egl_platforms` for plat in $egl_platforms; do case "$plat" in wayland) + test "x$have_libdrm" != xyes && + AC_MSG_ERROR([EGL platform wayland requires libdrm >= $LIBDRM_REQUIRED]) + PKG_CHECK_MODULES([WAYLAND], [wayland-client >= $WAYLAND_REQUIRED wayland-server >= $WAYLAND_REQUIRED]) if test "x$WAYLAND_SCANNER" = x; then |