"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.
The following patch adds --db-version, --db-header and --db-lib to apr-2-config. I haven't tried to adapt Subversion yet. Index: apr-config.in =================================================================== --- apr-config.in (revision 1137909) +++ apr-config.in (working copy) @@ -44,6 +44,9 @@ APR_SO_EXT="@so_ext@" APR_LIB_TARGET="@export_lib_target@" APR_LIBNAME="@APR_LIBNAME@" +APU_DB_VERSION="@apu_db_version@" +APU_DB_HEADER="@apu_db_header@" +APU_DB_LIB="@apu_db_lib@" # NOTE: the following line is modified during 'make install': alter with care! location=@APR_CONFIG_LOCATION@ @@ -230,6 +233,18 @@ fi exit 0 ;; + --db-version) + echo $APU_DB_VERSION + exit 0 + ;; + --db-header) + echo $APU_DB_HEADER + exit 0 + ;; + --db-lib) + echo $APU_DB_LIB + exit 0 + ;; --help) show_usage exit 0 Index: build/dbm.m4 =================================================================== --- build/dbm.m4 (revision 1137909) +++ build/dbm.m4 (working copy) @@ -1004,6 +1004,7 @@ AC_SUBST(apu_have_gdbm) AC_SUBST(apu_have_ndbm) AC_SUBST(apu_have_db) + AC_SUBST(apu_db_lib) AC_SUBST(apu_db_header) AC_SUBST(apu_db_version) -- Philip