summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Ylinen <mikko.ylinen@intel.com>2014-05-13 10:57:40 +0300
committerMikko Ylinen <mikko.ylinen@intel.com>2014-05-13 10:57:40 +0300
commit9798d0c8aa9ace40b2cebe30751ca7fd962ff75e (patch)
tree86a2def2c7bbb739e72f6314f3e61727f66e0bbb
parent2096054111a1ba6b451e8b42c21db29189075d00 (diff)
downloadico-uxf-device-input-controller-9798d0c8aa9ace40b2cebe30751ca7fd962ff75e.tar.gz
ico-uxf-device-input-controller-9798d0c8aa9ace40b2cebe30751ca7fd962ff75e.tar.bz2
ico-uxf-device-input-controller-9798d0c8aa9ace40b2cebe30751ca7fd962ff75e.zip
Fix EGL build issue when no X11 headers are available
Change-Id: I9d09c75885cbc935446f10dd709910069ca94884 Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4952171..0557b34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,10 @@ AM_CONDITIONAL(ENABLE_SETUID_INSTALL, test x$enable_setuid_install = xyes)
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([GLIB], [glib-2.0])
+PKG_CHECK_MODULES([EGL], [egl])
+
+CFLAGS="$CFLAGS $EGL_CFLAGS"
+AC_SUBST(CFLAGS)
SHARED_LIBS=
SHARED_CFLAGS=