summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-10-04 21:59:34 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-10-04 21:59:34 +0100
commita5c019ee1b5b780e4ce90f23b4b7980305997576 (patch)
tree3fc826c967a0713ed099eb9af907dd66e941db32
parente97162bad53aa6cedef9946ca9f64f5627087be4 (diff)
downloadlibepoxy-a5c019ee1b5b780e4ce90f23b4b7980305997576.tar.gz
Ensure Autotools enables EGL-X11 supportissue-188
The X11 support in the Autotools build is missing the definition of the ENABLE_X11 pre-processor symbol. Without it, we're missing the X11 platform definitions for EGL. Fixes #188
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3237858..1d0eb27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,6 +157,8 @@ if test x$enable_x11 = xno; then
AC_MSG_ERROR([GLX support is explicitly enabled, but X11 was disabled])
fi
build_glx=no
+else
+ AC_DEFINE([ENABLE_X11], [1], [Whether X11 support is enabled])
fi
AM_CONDITIONAL(BUILD_EGL, test x$build_egl = xyes)