Require EGL to be present if KMS is compiled.

This commit is contained in:
Themaister 2012-09-18 12:18:16 +02:00
parent 1d2d09905b
commit 8dcb59318b

View File

@ -128,12 +128,14 @@ fi
check_lib DYNAMIC "$DYLIB" dlopen
HAVE_EGL=no
if [ "$HAVE_KMS" = "yes" ]; then
check_pkgconf GBM gbm
check_pkgconf DRM libdrm
if [ "$HAVE_GBM" = "yes" ] && [ "$HAVE_DRM" = "yes" ]; then
HAVE_KMS=yes
HAVE_EGL=yes
fi
fi