summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-01-18 16:07:02 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-02-06 15:58:20 +0000
commit2b6f01b0085e10b4644b672ef03b6120b1927911 (patch)
treea6fac002829a3f27caf62100418174cf17c2af44 /test
parent476851ba416c0fa478a8ec0620d482ed5079e38b (diff)
downloadlibepoxy-2b6f01b0085e10b4644b672ef03b6120b1927911.tar.gz
Allow enabling and disabling GLX support, part II
After doing this for Meson in commit fc014fa1, let's do the same dance for the Autotools build.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 5781702..b1f0c7a 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -72,8 +72,11 @@ check_PROGRAMS = $(TESTS)
if BUILD_EGL
EGL_TESTS = \
+ $()
+
+if HAVE_X11
+EGL_TESTS += \
egl_has_extension_nocontext \
- egl_gl \
egl_gles2_without_glx \
$()
@@ -83,6 +86,7 @@ endif
EGL_UTIL_LIB = libegl_common.la
endif
+endif
if BUILD_GLX
if HAS_ZNOW
@@ -93,6 +97,7 @@ if BUILD_EGL
if BUILD_GLX
if !BUILD_APPLE
EGL_AND_GLX_TESTS = \
+ egl_gl \
egl_and_glx_different_pointers_egl_glx \
egl_and_glx_different_pointers_egl \
egl_and_glx_different_pointers_glx \