summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-04-15 22:01:39 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-04-15 22:01:39 +0000
commit403b5d44d8f9711b7947f16e8fa8a8c68fa5fbc5 (patch)
treee0c36b9fb6db61d906a9334557e9d6c75b8171fd
parent39610d523e5c1b2a0fc9fa392ae478f036ba9387 (diff)
downloadlibapr-403b5d44d8f9711b7947f16e8fa8a8c68fa5fbc5.tar.gz
Get us installing with autoconf 2.53 when builddir == srcdir.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63268 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 84bce00a9..9a42039a9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,7 +62,10 @@ install: $(TARGET_LIB)
$(top_srcdir)/build/mkdir.sh $(includedir); \
fi;
cp $(top_srcdir)/include/*.h $(includedir);
- cp $(top_blddir)/include/*.h $(includedir);
+
+ if test -n "$(top_blddir)"; then \
+ cp $(top_blddir)/include/*.h $(includedir); \
+ fi;
if [ ! -d $(libdir) ]; then \
$(top_srcdir)/build/mkdir.sh $(libdir); \
fi;