From a95e396a83930de14c6964dbf3724d6162d8400b Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 7 Jun 2012 15:05:19 -0700 Subject: [PATCH] eglfs: Disable eglfs when evdev is not present EGLFS has a hard dependency on evdev, so don't compile it when evdev is not present. This also removes the check that disabled EGLFS specifically for QNX. Since QNX doesn't have evdev, EGLFS will get disabled automatically. Change-Id: I9fdb364b2eff9b370fa238609a8f98af6ccb7f7b Reviewed-by: Sean Harmer Reviewed-by: Oswald Buddenhagen --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9c9436c86a..64efde3ec1 100755 --- a/configure +++ b/configure @@ -4743,7 +4743,7 @@ elif [ "$CFG_OPENGL" = "desktop" ]; then fi if [ "$CFG_EGLFS" != "no" ]; then - if [ "$CFG_OPENGL" = "es2" ] && [ "$XPLATFORM_QNX" = "no" ]; then + if [ "$CFG_OPENGL" = "es2" ] && [ "$CFG_EVDEV" = "yes" ]; then CFG_EGLFS="$CFG_EGL" else CFG_EGLFS="no"