summaryrefslogtreecommitdiff
path: root/packages/libstroke/libstroke-0.5.1/tests-Makefile.am.patch
blob: abd55d676f39d51f50b8b92b43d35e0060e28c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- libstroke-0.5.1/tests/Makefile.am.orig	2008-06-11 13:46:40.000000000 +0400
+++ libstroke-0.5.1/tests/Makefile.am	2008-06-11 13:47:23.000000000 +0400
@@ -14,7 +14,11 @@
 gnome_stroke_test_SOURCES = gnome_stroke_test.c
 
 INCLUDES = -I$(top_srcdir)/libstroke -I$(top_srcdir)/libgstroke \
-		@X_CFLAGS@ @GTK_CFLAGS@
+		@X_CFLAGS@
+
+if HAVE_LIBGTK
+INCLUDES += @GTK_CFLAGS@
+endif
 
 stroke_test_LDADD = ../libstroke/libstroke.la @X_LDFLAGS@
 gnome_stroke_test_LDADD = ../libgstroke/libgstroke.la @GTK_LIBS@