mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
qb: Improve the KMS check.
This commit is contained in:
parent
271aef55a4
commit
f5a9c21b99
@ -402,15 +402,11 @@ fi
|
||||
if [ "$HAVE_KMS" != "no" ]; then
|
||||
check_val '' GBM -lgbm '' gbm 9.0 '' false
|
||||
check_val '' DRM -ldrm libdrm libdrm '' '' false
|
||||
fi
|
||||
|
||||
if [ "$HAVE_GBM" = "yes" ] && [ "$HAVE_DRM" = "yes" ] && [ "$HAVE_EGL" = "yes" ]; then
|
||||
HAVE_KMS=yes
|
||||
elif [ "$HAVE_KMS" = "yes" ]; then
|
||||
die 1 'Error: Cannot find libgbm, libdrm and EGL libraries required for KMS. Compile without --enable-kms.'
|
||||
else
|
||||
HAVE_KMS=no
|
||||
fi
|
||||
fi
|
||||
check_enabled DRM KMS KMS 'DRM is' true
|
||||
check_enabled GBM KMS KMS 'GBM is' true
|
||||
check_enabled EGL KMS KMS 'EGL is' true
|
||||
|
||||
if [ "$HAVE_EGL" = "yes" ]; then
|
||||
if [ "$HAVE_OPENGLES" != "no" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user