Require EGL to be present if KMS is compiled.
This commit is contained in:
parent
1d2d09905b
commit
8dcb59318b
|
@ -128,12 +128,14 @@ fi
|
||||||
|
|
||||||
check_lib DYNAMIC "$DYLIB" dlopen
|
check_lib DYNAMIC "$DYLIB" dlopen
|
||||||
|
|
||||||
|
HAVE_EGL=no
|
||||||
if [ "$HAVE_KMS" = "yes" ]; then
|
if [ "$HAVE_KMS" = "yes" ]; then
|
||||||
check_pkgconf GBM gbm
|
check_pkgconf GBM gbm
|
||||||
check_pkgconf DRM libdrm
|
check_pkgconf DRM libdrm
|
||||||
|
|
||||||
if [ "$HAVE_GBM" = "yes" ] && [ "$HAVE_DRM" = "yes" ]; then
|
if [ "$HAVE_GBM" = "yes" ] && [ "$HAVE_DRM" = "yes" ]; then
|
||||||
HAVE_KMS=yes
|
HAVE_KMS=yes
|
||||||
|
HAVE_EGL=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue