[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] neon.mak fixes (was Re: svn commit: rev 3075 - trunk trunk/build)

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-08-28 03:38:50 CEST

Joe,

The following patch fixes a bug in my recent neon.mak changes and
is needed for Subversion's build_neon.bat script to correctly build
neon 0.23.2.

The problem was that the WebDAV .c files were not being compiled if
EXPAT_SRC is not set, regardless if EXPAT_FLAGS is set, which
build_neon.bat does since it wants to specify the compile options to
link against APR's expat and not the binary Expat libraries I set
neon.mak up to by default.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
--- ../../neon-0.23.2/neon.mak	2002-08-25 15:45:37.000000000 -0700
+++ neon.mak	2002-08-27 18:29:01.000000000 -0700
@@ -12,12 +12,14 @@
 # Support for Expat integration
 # IF EXPAT_SRC is set, then assume compiling against a pre-built
 # binary Expat 1.95.X.  If EXPAT_SRC is not set, then the user can
-# still set EXPAT_FLAGS to specify very specific complile behavior.
+# still set EXPAT_FLAGS to specify very specific compile behavior.
 # If both EXPAT_SRC and EXPAT_FLAGS are not set, disable WebDAV
 # support.
+BUILD_EXPAT = 1
 !IF "$(EXPAT_SRC)" == ""
 !IF "$(EXPAT_FLAGS)" == ""
 EXPAT_FLAGS = /D NEON_NODAV
+BUILD_EXPAT =
 !ENDIF
 !ELSE
 EXPAT_FLAGS = /I "$(EXPAT_SRC)\Source\Lib" /D HAVE_EXPAT /D HAVE_EXPAT_H
@@ -83,7 +85,7 @@
 	"$(INTDIR)\ne_uri.obj" \
 	"$(INTDIR)\ne_utils.obj"
 
-!IF "$(EXPAT_SRC)" != ""
+!IF "$(BUILD_EXPAT)" != ""
 LIB32_OBJS= \
 	$(LIB32_OBJS) \
 	"$(INTDIR)\ne_207.obj" \
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 28 03:40:10 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.