summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2015-09-09 17:40:34 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2015-09-09 17:40:34 +0000
commit7637953728ef99e478349b8428a1cf545ec35ad9 (patch)
tree96cc7ec3ccc99d8e741c5deb76497be7525312f1 /buildconf
parent1cecf8fd9efcb5ba7b96fbb62ab511769eb50308 (diff)
downloadapr-7637953728ef99e478349b8428a1cf545ec35ad9.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. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1702061 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf10
1 files changed, 10 insertions, 0 deletions
diff --git a/buildconf b/buildconf
index b70fa53ec..45a31598b 100755
--- a/buildconf
+++ b/buildconf
@@ -131,4 +131,14 @@ 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" -o \
+ -f "include/apu_want.h" -o -f "include/private/apu_select_dbm.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