]> Pileus Git - ~andy/gtk/blobdiff - Makefile.decl
wayland: Remove non-existing gdkscreen-wayland.h from SOURCES
[~andy/gtk] / Makefile.decl
index 2f6c579d2d56a22677cfc0c2e78e1e95ad46958f..1ecbc61fe5cb1aa8185897ab25874b5123efd006 100644 (file)
@@ -17,9 +17,15 @@ XIDS = 101 102 103 104 105 106 107 197 199 211 223 227 293 307 308 309 310 311 \
   1008 1009 4703 4721 4723 4729 4733 4751 9973 9974 9975 9976 9977 9978 9979 \
   9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 \
   9995 9996 9997 9998 9999
+
+if USE_X11
+SKIP_GDKTARGET = \
+       false
+else
 SKIP_GDKTARGET = \
-       test "$(gdktarget)" != "x11" \
-       && echo "Gtk+Tests:INFO: Skipping GUI tests for non-X11 target."
+       echo "Gtk+Tests:INFO: Skipping GUI tests for non-X11 target."
+endif
+
 XVFB_START = \
        ${XVFB} -help 2>/dev/null 1>&2 \
        && XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \