You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2007/08/08 15:08:54 UTC

svn commit: r563847 - in /httpd/httpd/trunk/build: NWGNUenvironment.inc NWGNUmakefile

Author: fuankg
Date: Wed Aug  8 06:08:52 2007
New Revision: 563847

URL: http://svn.apache.org/viewvc?view=rev&rev=563847
Log:
added check for minimum APR version.

Modified:
    httpd/httpd/trunk/build/NWGNUenvironment.inc
    httpd/httpd/trunk/build/NWGNUmakefile

Modified: httpd/httpd/trunk/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/NWGNUenvironment.inc?view=diff&rev=563847&r1=563846&r2=563847
==============================================================================
--- httpd/httpd/trunk/build/NWGNUenvironment.inc (original)
+++ httpd/httpd/trunk/build/NWGNUenvironment.inc Wed Aug  8 06:08:52 2007
@@ -119,6 +119,9 @@
 # Setup build tools
 AWK	= awk
 
+# Define minimum APR version to check for
+APR_WANTED = 1003000
+
 ifdef IPV6
 ifndef USE_STDSOCKETS
 USE_STDSOCKETS=1

Modified: httpd/httpd/trunk/build/NWGNUmakefile
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/NWGNUmakefile?view=diff&rev=563847&r1=563846&r2=563847
==============================================================================
--- httpd/httpd/trunk/build/NWGNUmakefile (original)
+++ httpd/httpd/trunk/build/NWGNUmakefile Wed Aug  8 06:08:52 2007
@@ -21,7 +21,7 @@
 	$(PCRE)/pcre.h \
 	$(EOLIST) 
     
-nlms :: $(NWOS)/httpd.imp
+nlms :: chkapr $(NWOS)/httpd.imp
 
 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
 	@echo Generating $(subst /,\,$@)
@@ -51,6 +51,13 @@
 $(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
 	@echo Creating $(subst /,\,$@)
 	copy $< $(subst /,\,$(PCRE))\$(@F)
+
+#
+# Check for minimum APR version
+#
+chkapr: $(APR)\build\nw_ver.awk $(APR)\include\apr_version.h
+	@echo Checking for APR version...
+	@$(AWK) -v WANTED=$(APR_WANTED) -f $^
 
 #
 # You can use this target if all that is needed is to copy files to the