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
macos/v1.5.9
Emmanuele Bassi 6 years ago
parent e97162bad5
commit a5c019ee1b
  1. 2
      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)

Loading…
Cancel
Save