diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2015-09-09 17:40:34 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2015-09-09 17:40:34 +0000 |
commit | 7637953728ef99e478349b8428a1cf545ec35ad9 (patch) | |
tree | 96cc7ec3ccc99d8e741c5deb76497be7525312f1 /buildconf | |
parent | 1cecf8fd9efcb5ba7b96fbb62ab511769eb50308 (diff) | |
download | apr-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-x | buildconf | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |