Index: build.xml
===================================================================
RCS file: /home/cvspublic/logging-log4cxx/build.xml,v
retrieving revision 1.77
diff -u -r1.77 build.xml
--- build.xml	11 Jul 2005 04:38:09 -0000	1.77
+++ build.xml	6 Sep 2005 23:18:35 -0000
@@ -59,6 +59,7 @@
 
 <property name="apache.dist" value="http://www.apache.org/dist"/>
 
+<property name="use-odbc" value="true"/>
 
 
 <property name="apr.version" value="1.1.0"/>
@@ -162,6 +163,8 @@
     <condition property="is-mingw" value="true">
         <isset property="is-gcc"/>
     </condition>
+    
+    
 </target>
 
 <target name="mac-init" depends="os-detect" if="is-mac">
@@ -325,6 +328,7 @@
         <property name="log4cxx.lib.dir" value="${executable.dir}/${lib.type}"/>
         <mkdir dir="${log4cxx.lib.dir}"/>
 
+		<property name="compiler_args" value="/Fd${log4cxx.lib.dir}/log4cxx.pdb"/>    
 
         <property name="projectsOnly" value="false"/>
 </target>
@@ -627,7 +631,9 @@
         <defineset define="APR_DECLARE_STATIC" if="apr-static"/>
         <defineset define="APU_DECLARE_STATIC" if="aprutil-static"/>
         <defineset define="WIN32" if="is-windows"/>
+        <defineset define="LOG4CXX_HAVE_ODBC" if="use-odbc"/>
         <compilerarg value="${pic-option}" if="pic-option"/>
+        <compilerarg value="${compiler_args}" if="compiler_args"/>        
         &libsets;
         <project type="${project.type}" outfile="${project.dir}/log4cxx" if="project.if"/>
     </cc>
