diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | test/Makefile.am | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e40a965a..797e2246 100644 --- a/configure.ac +++ b/configure.ac @@ -250,6 +250,7 @@ fi PKG_CHECK_MODULES(X11_DRI3, [xcb-dri3 xcb-sync xcb-present x11-xcb xshmfence x11 xrender xext libdrm], [x11_dri3="yes"], [x11_dri3="no"]) AM_CONDITIONAL(X11_DRI3, test "x$x11_dri3" = "xyes" -a "x$shm" = "xyes") +AM_CONDITIONAL(X11_SHM, test "x$shm" = "xyes") AC_ARG_ENABLE(tools, AS_HELP_STRING([--disable-tools], diff --git a/test/Makefile.am b/test/Makefile.am index f9906d44..be0b1f09 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -40,7 +40,10 @@ stress_TESTS += \ endif check_PROGRAMS = $(stress_TESTS) -noinst_PROGRAMS = lowlevel-blt-bench +noinst_PROGRAMS = +if X11_SHM +noinst_PROGRAMS += lowlevel-blt-bench +endif AM_CFLAGS = @CWARNFLAGS@ $(X11_CFLAGS) $(DRM_CFLAGS) LDADD = libtest.la $(X11_LIBS) $(DRM_LIBS) $(CLOCK_GETTIME_LIBS) |