You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2015/09/09 19:41:20 UTC

svn commit: r1702062 - /apr/apr/branches/1.5.x/buildconf

Author: wrowe
Date: Wed Sep  9 17:41:20 2015
New Revision: 1702062

URL: http://svn.apache.org/r1702062
Log:
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

Modified:
    apr/apr/branches/1.5.x/buildconf

Modified: apr/apr/branches/1.5.x/buildconf
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/buildconf?rev=1702062&r1=1702061&r2=1702062&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/buildconf (original)
+++ apr/apr/branches/1.5.x/buildconf Wed Sep  9 17:41:20 2015
@@ -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