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

[PATCH] VS.NET build with apr-util and BDB

From: Tim Wharton <TimJ_at_fourdoorlemon.com>
Date: 2005-05-14 02:49:56 CEST

This is a very simple patch that allows gen_make.py with
--enable-bdb-in-apr-util to function correctly on a Visual Studio 200X
using the -t vcproj option.

The w32locatedb.pl script in the apr-util distribution modifies header
and the VC6 project files, however the gen_make.py with the -t vcproj
doesn't replicate the changes made by w32locatedb.pl in the .vcproj
Since w32locatedb.pl is still executed to modify the header files we
need to alter the .vcproj files.

I noticed there was a patch from 'Jon Foster' that partially addressed
issue but didn't appear to be resolved.

My build command line is:
python gen-make.py -t vcproj --vsnet-version=2003
  --with-openssl=..\openssl-0.9.7d --with-zlib=..\zlib-1.2.2
  --enable-bdb-in-apr-util --with-apr=..\apr --with-apr-util=..\apr-util
  --with-apr-icon=..\apr-iconv --with-libintl=..\svn-win32-libintl

Log message follows:

Allow Visual Studio .NET to build apr-util correctly with the
--enable-bdb-in-apr-util switch.

* gen_win.py
  ( def write(self) ): Modified the calling of move_proj_file() for
  libaprutil.vcproj.ezt to pass an extra template parameter for the BDB
  based on wether self.configure_apr_util is set or not.

* libaprutil.vcproj.ezt
  (VCCLCompilerTool.AdditionalIncludeDirectories Debug/Release):
  Added bdb include path if 'bdbpath' template variable is set.
  (VCCLCompilerTool.PreprocessorDefinitions Debug/Release):
  Define APU_USE_DB instead of APU_USE_SDBM if 'bdbpath' template
variable is
  (VCCLCompilerTool.AdditionalDependencies Debug/Release):
  Added libdb42d.lib in debug or libdb42.lib in release build if
  template variable is set.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat May 14 02:51:10 2005

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.