From a5c019ee1b5b780e4ce90f23b4b7980305997576 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 4 Oct 2018 21:59:34 +0100 Subject: Ensure Autotools enables EGL-X11 support 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 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.1