Skip to content

Commit 16b1481

Browse files
authored
Merge pull request #193 from anholt/issue-188
Ensure Autotools enables EGL-X11 support
2 parents 439e8b7 + a5c019e commit 16b1481

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ if test x$enable_x11 = xno; then
157157
AC_MSG_ERROR([GLX support is explicitly enabled, but X11 was disabled])
158158
fi
159159
build_glx=no
160+
else
161+
AC_DEFINE([ENABLE_X11], [1], [Whether X11 support is enabled])
160162
fi
161163

162164
AM_CONDITIONAL(BUILD_EGL, test x$build_egl = xyes)

0 commit comments

Comments
 (0)