summaryrefslogtreecommitdiff
path: root/tests/libXrandr/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libXrandr/Makefile.am')
-rw-r--r--tests/libXrandr/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libXrandr/Makefile.am b/tests/libXrandr/Makefile.am
index 047ee47..ce7d860 100644
--- a/tests/libXrandr/Makefile.am
+++ b/tests/libXrandr/Makefile.am
@@ -22,9 +22,11 @@
#
noinst_PROGRAMS = XRRGetOutputProperty
-noinst_PROGRAMS += XRRGetProviderProperty
noinst_PROGRAMS += XRRQueryOutputProperty
+if HAVE_XRANDR_14
+noinst_PROGRAMS += XRRGetProviderProperty
noinst_PROGRAMS += XRRQueryProviderProperty
+endif HAVE_XRANDR_14
noinst_HEADERS = xhiv-Xrandr.h