Fix test build when srcdir != builddir.
authorAaron Plattner <aplattner@nvidia.com>
Fri, 28 Mar 2008 19:16:07 +0000 (12:16 -0700)
committerAaron Plattner <aplattner@nvidia.com>
Fri, 28 Mar 2008 19:16:07 +0000 (12:16 -0700)
The tests were including pixman.h, but pixman.h couldn't find pixman-version.h
because it was in $(top_builddir)/pixman rather than $(top_srcdir)/pixman.

test/Makefile.am

index 3db77b3..d0a21c4 100644 (file)
@@ -6,7 +6,7 @@ TESTPROGRAMS = \
 
 noinst_PROGRAMS = $(TESTPROGRAMS)
 
-INCLUDES = -I$(top_srcdir)/pixman $(GTK_CFLAGS)
+INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman $(GTK_CFLAGS)
 
 composite_test_LDADD = $(top_builddir)/pixman/libpixman-1.la $(GTK_LIBS)
 gradient_test_LDADD = $(top_builddir)/pixman/libpixman-1.la $(GTK_LIBS)