If apr and apr-util have been install with different prefixes (but are still both in the path) such that, in particular, `apr-1-config --includedir` and `apu-1-config --includedir` are different, configure reports: configure: error: APR-util version 1.2.0 or later is required The underlying error is: apu_version.h:109:25: fatal error: apr_version.h: No such file or directory Since apr-util depends on apr, configure should add apr's includes when checking apr-util.
You'll note you had this misfiled under httpd, httpd doesn't write the included autoconf macros which are all pulled together with ./buildconf. You wanted to report that defect here, so here it is.
I don't quite see that but I'll take your word for it. The problem is the use of APACHE_CHECK_APxVER in httpd/configure.in (which could amend CPPFLAGS) or its definition in httpd/acinclude.m4, which don't seem to be generated by buildconf as far as I can tell. I suppose this could also be fixed by making apu-1-config --includes add the apr include directories (as pkg-config apr-util-1 already does).
Because apu-1-config --includes cannot be parsed without the path to apr itself, I think this would be best.