"C. Michael Pilato" <cmpil...@collab.net> writes: > I'd be interested in knowing why the --db-version parameter was > dropped. In the absence of a solid reason, I think APR should be > changed to support as much.
Probably it's because apr is now modular and BDB support is one of the things that is loaded dynamically. It's easy enough to reinstate --db-version, but that doesn't fix Subversion because apr no longer explicitly links against the BDB library. Subversion's configure fails its link test with 'undefined reference to db_version'. Index: apr-config.in =================================================================== --- apr-config.in (revision 1137909) +++ apr-config.in (working copy) @@ -44,6 +44,7 @@ APR_SO_EXT="@so_ext@" APR_LIB_TARGET="@export_lib_target@" APR_LIBNAME="@APR_LIBNAME@" +APU_DB_VERSION="@apu_db_version@" # NOTE: the following line is modified during 'make install': alter with care! location=@APR_CONFIG_LOCATION@ @@ -230,6 +231,10 @@ fi exit 0 ;; + --db-version) + echo $APU_DB_VERSION + exit 0 + ;; --help) show_usage exit 0 -- Philip