diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-10-04 21:59:34 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-10-04 21:59:34 +0100 |
commit | a5c019ee1b5b780e4ce90f23b4b7980305997576 (patch) | |
tree | 3fc826c967a0713ed099eb9af907dd66e941db32 | |
parent | e97162bad53aa6cedef9946ca9f64f5627087be4 (diff) | |
download | libepoxy-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.ac | 2 |
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) |