]> granicus.if.org Git - apache/commitdiff
Add a test to buildconf to ensure that APR has been checked out. If it
authorRyan Bloom <rbb@apache.org>
Mon, 4 Dec 2000 15:08:02 +0000 (15:08 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 4 Dec 2000 15:08:02 +0000 (15:08 +0000)
isn't there, we output a message giving the public CVS root.
Submitted by: Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87173 13f79535-47bb-0310-9956-ffa450edef68

build/build.mk

index b5dbb907f21da34c63acc95fb4819747aea37178..c6e3332e53ae93e518b14217c5ea47d8c049e89d 100644 (file)
 STAMP = buildmk.stamp
 
 all: $(STAMP) generated_lists
+       @if [ ! -d lib/apr ]; then \
+           echo "APR not found."; \
+           echo "Please check-out a working version of APR, the anonymous"; \
+           echo "CVS root is :pserver:anoncvs@www.apache.org:/home/cvspublic"; \
+           exit 1; \
+       fi
        @$(MAKE) AMFLAGS=$(AMFLAGS) -s -f build/build2.mk
 
 generated_lists: