summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2015-09-09 17:41:20 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2015-09-09 17:41:20 +0000
commit78faccb0f24663bde3bd4eb7ba3aea427b05264a (patch)
treedd0a54f5a7790bd4d8fd5faf0e67a274456a043d
parent794406d40f0bdc5a68a93805e567ed51f1ea177a (diff)
downloadlibapr-78faccb0f24663bde3bd4eb7ba3aea427b05264a.tar.gz
Unusual case I tripped over in re-buildconf'ing a tree and preparing to build
out-of-tree. This deserves a non-lethal alert if .h.in results are picked up. Backports: r1702061 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1702062 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xbuildconf9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildconf b/buildconf
index b70fa53ec..da1019350 100755
--- a/buildconf
+++ b/buildconf
@@ -131,4 +131,13 @@ if [ -f `which cut` ]; then
> apr.spec )
fi
+# Verify the tree was clean, notify user if not (normal in development)
+#
+if [ -f "include/apr.h" -o -f "include/arch/unix/apr_private.h" ]; then
+ echo ""
+ echo "Generated include files already exist, the tree is not clean."
+ echo "The resulting build-outputs.mk file is incorrect"
+ exit 1
+fi
+
exit 0