Description
configure does not check for apr-util but uses apr_xlate.h, which is only provided by the package.
While I was fixing this, I noticed that the symbol APR_LIBS was not marked for substition. Lastly, two subdirectories in 'tests/input' were missing Makefile.ins.
Patch against CVS HEAD of today follows. The patch needs 'find_apu.m4', which can be found with the APR-util distribution.
— configure.in 9 Feb 2005 23:39:45 -0000 1.49
+++ configure.in 25 Apr 2005 13:28:26 -0000
@@ -144,8 +144,18 @@
CPPFLAGS="$CPPFLAGS `$apr_config --cppflags` `$apr_config --includes`"
APR_LIBS="`$apr_config --link-ld --libs`"
+AC_SUBST(APR_LIBS)
LDFLAGS="$LDFLAGS $APR_LIBS"
+APR_FIND_APU(, , 1, 1)
+if test "$apu_found" = "no"; then
+ AC_MSG_ERROR(APR-util could not be located. Please use the --with-apr-util option.)
+fi
+
+CPPFLAGS="$CPPFLAGS `$apu_config --includes`"
+APU_LIBS="`$apu_config --link-ld --libs`"
+AC_SUBST(APU_LIBS)
+LDFLAGS="$LDFLAGS $APU_LIBS"
- Checks local idioms
- ----------------------------------------------------------------------------
@@ -386,6 +396,8 @@
tests/Makefile
tests/input/Makefile
tests/input/xml/Makefile
+tests/input/performance/Makefile
+tests/input/ndc/Makefile
tests/src/Makefile
tests/src/customlogger/Makefile
tests/src/db/Makefile