Replace -I($builddir) with -I. to avoid breaking non-srcdir builds.

This variable was expanding to an empty string, so the next -I flag
was getting completely swallowed. Let's avoid being clever and just
use . which is what we want in the expansion anyway.
This commit is contained in:
Carl Worth 2008-01-16 10:10:39 -08:00
parent ad8d03967a
commit cb1ddc4e47

View file

@ -323,7 +323,7 @@ EXTRA_DIST += $(TESTS) check-has-hidden-symbols.c
# The pre-processed result is used by check-{def,plt}.sh to determine whether
# cairo has been compiled with symbol hiding.
.c.i: $(cairoinclude_HEADERS) $(nodist_cairoinclude_HEADERS) cairoint.h $(top_builddir)/config.h
$(CPP) -DHAVE_CONFIG_H -I$(top_builddir) -I$(builddir) $(libcairo_la_CFLAGS) $< -o $@
$(CPP) -DHAVE_CONFIG_H -I$(top_builddir) -I. $(libcairo_la_CFLAGS) $< -o $@
SPARSE = sparse
sparse: