[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-cvs
Subject:    svn commit: rev 7586 - trunk/build/generator
From:       striker () tigris ! org
Date:       2003-10-31 12:51:21
[Download RAW message or body]

Author: striker
Date: Fri Oct 31 06:51:20 2003
New Revision: 7586

Modified:
   trunk/build/generator/gen_win.py
Log:
Try and fix the build problems on win32.

* build/generator/gen_win.py

  (get_win_defines): Define APU_HAVE_DB when we have BerkeleyDB available.


Modified: trunk/build/generator/gen_win.py
==============================================================================
--- trunk/build/generator/gen_win.py	(original)
+++ trunk/build/generator/gen_win.py	Fri Oct 31 06:51:20 2003
@@ -404,6 +404,13 @@
       fakedefines.extend(["_DEBUG","SVN_DEBUG"])
     elif cfg == 'Release':
       fakedefines.append("NDEBUG")
+
+    # XXX: Check if db is present, and if so, let apr-util know
+    # XXX: This is a hack until the apr build system is improved to
+    # XXX: know these things for itself.
+    if self.dblibname:
+      fakedefines.append("APU_HAVE_DB=1")
+
     return fakedefines
 
   def get_win_includes(self, target, rootpath):

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic