apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1702061 - /apr/apr/trunk/buildconf
Date Wed, 09 Sep 2015 17:40:34 GMT
Author: wrowe
Date: Wed Sep  9 17:40:34 2015
New Revision: 1702061

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


Modified:
    apr/apr/trunk/buildconf

Modified: apr/apr/trunk/buildconf
URL: http://svn.apache.org/viewvc/apr/apr/trunk/buildconf?rev=1702061&r1=1702060&r2=1702061&view=diff
==============================================================================
--- apr/apr/trunk/buildconf (original)
+++ apr/apr/trunk/buildconf Wed Sep  9 17:40:34 2015
@@ -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



Mime
View raw message