The attached patch file for build.xml also includes a property called "use-odbc" that will define LOG4CXX_HAVE_ODBC so that odbc support will be compiled in.
The other files are patches to the source. I didn't try to to change the design, just to mkae the thing work.
class.cpp.patch
Description: Binary data
odbcappender.cpp.patch
Description: Binary data
odbcappender.h.patch
Description: Binary data
build.xml.patch
Description: Binary data
