Skip to content

Commit

Permalink
[test] Add util/cairo-script to include path.
Browse files Browse the repository at this point in the history
any2ppm needs the include path for cairo-script-interpreter so that it can
be built without an existing install.
  • Loading branch information
Chris Wilson committed Nov 16, 2008
1 parent 997fa6a commit 3a82f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,7 @@ AM_CPPFLAGS = \
-I$(srcdir) \
-I$(srcdir)/pdiff \
-I$(top_srcdir)/boilerplate \
-I$(top_srcdir)/util/cairo-script \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(CAIRO_CFLAGS)
Expand All @@ -1156,7 +1157,7 @@ $(top_builddir)/test/pdiff/libpdiff.la:
cd $(top_builddir)/test/pdiff && $(MAKE) $(AM_MAKEFLAGS) libpdiff.la

$(top_builddir)/util/cairo-script/libcairo-script-interpreter.la: $(top_builddir)/src/libcairo.la
cd $(top_builddir)/util/cair-script && $(MAKE) $(AM_MAKEFLAGS) libcairo-script-interpreter.la
cd $(top_builddir)/util/cairo-script && $(MAKE) $(AM_MAKEFLAGS) libcairo-script-interpreter.la

EXTRA_PROGRAMS += imagediff png-flatten

Expand Down
3 changes: 0 additions & 3 deletions test/any2ppm.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@
#include <string.h>

#include <cairo.h>

#if CAIRO_CAN_TEST_SCRIPT_SURFACE
#include <cairo-script-interpreter.h>
#endif

#if CAIRO_CAN_TEST_PDF_SURFACE
#include <poppler.h>
Expand Down

0 comments on commit 3a82f94

Please sign in to comment.