apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1702063 - /apr/apr-util/branches/1.5.x/buildconf
Date Wed, 09 Sep 2015 17:41:32 GMT
Author: wrowe
Date: Wed Sep  9 17:41:32 2015
New Revision: 1702063

URL: http://svn.apache.org/r1702063
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-util/branches/1.5.x/buildconf

Modified: apr/apr-util/branches/1.5.x/buildconf
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/buildconf?rev=1702063&r1=1702062&r2=1702063&view=diff
==============================================================================
--- apr/apr-util/branches/1.5.x/buildconf (original)
+++ apr/apr-util/branches/1.5.x/buildconf Wed Sep  9 17:41:32 2015
@@ -114,3 +114,14 @@ if [ -f `which cut` ]; then
     ./build/rpm/apr-util.spec.in > apr-util.spec
 fi
 
+# Verify the tree was clean, notify user if not (normal in development)
+#
+if [ -f "include/apu.h" -o -f "include/private/apu_config.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