summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
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