On 06 Aug 2019, at 15:55, Rainer Jung <rainer.j...@kippdata.de> wrote:

> Just a reminder, that APR-UTIL 1.7.x still doesn't compile due to the wrong 
> handling of INCLUDES.

Another ping on this one - the apr-util 1.7 build is still broken.

Tried a number of options to fix it, the includes sort of works if you try the 
patch below, but the LIBS are very broken. For some reason autoconf tries to 
bind to both the expat and libxml2 libs, but then ultimately includes neither 
of them.

Index: build/xml.m4
===================================================================
--- build/xml.m4        (revision 1880261)
+++ build/xml.m4        (working copy)
@@ -148,12 +148,12 @@
 [  --with-libxml2=DIR      specify libxml2 location], [
   if test "$withval" = "yes"; then
     apu_try_libxml2=1
-    APR_ADDTO(INCLUDES, [-I/usr/include/libxml2])
+    APR_ADDTO(APRUTIL_INCLUDES, [-I/usr/include/libxml2])
   elif test "$withval" != "no"; then
     apu_try_libxml2=1
-    APR_ADDTO(INCLUDES, [-I$withval/include/libxml2])
+    APR_ADDTO(APRUTIL_INCLUDES, [-I$withval/include/libxml2])
     if test "$withval" != "/usr"; then
-      APR_ADDTO(LDFLAGS, [-L$withval/lib])
+      APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
     fi
   fi
   if test ${apu_try_libxml2} = "1" ; then

Regards,
Graham
—

Reply via email to