summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-03 08:16:47 +0000
committerCarl Worth <cworth@cworth.org>2005-05-03 08:16:47 +0000
commit8283381f120c0d5a4d3d770a541a576974cfdf89 (patch)
treef21c62a7be7256ada1f33692aa6f0376575a4e6e /src
parente227a106850ccced4e55bbc5cd5f139c6139aa2a (diff)
Add suggestion for copy-on-write regions to fix clip region problems.
Fix check for old headers to respect DESTDIR, (to work better when cross-compiling, etc.). Thanks to Luke-Jr <luke-jr@utopios.org>.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a16cd0969..7fcbc7f2e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -124,7 +124,7 @@ INCLUDES = -I$(srcdir) $(CAIRO_CFLAGS)
libcairo_la_LIBADD = $(CAIRO_LIBS)
install-data-local:
- @if test -f $(includedir)/cairo.h || test -f $(includedir)/cairo-features.h ; then \
+ @if test -f "$(DESTDIR)$(includedir)/cairo.h" || test -f "$(DESTDIR)$(includedir)/cairo-features.h" ; then \
echo "****************************************************************" ; \
echo "*** Error: Old headers found. You should remove the following" ; \
echo "*** files and then type 'make install' again." ; \