On trunk the configure script requires APR 1.4 but mod_proxy_balancer 
fails to build with APR < 1.5 since it uses apr_escape.h unconditionally 
[1].  Thinking of 2.5/2.6 it might make sense to bump up the APR version 
requirement to something newer, any opinions?  RHEL 8 and Bionic 
(18.04LTS) both have APR 1.6 so that might make a reasonable target for 
those wanting to build against distro APR versions.

grep for APR_VERSION_AT_LEAST --

./server/mpm/simple/simple_run.c:#if !APR_VERSION_AT_LEAST(1,4,0)
./server/mpm/event/event.c:#if !APR_VERSION_AT_LEAST(1,4,0)
./server/util_expr_eval.c:#if APR_VERSION_AT_LEAST(1,5,0)
./server/util_expr_eval.c:#if APR_VERSION_AT_LEAST(1,6,0)
./server/util_expr_eval.c:#if APR_VERSION_AT_LEAST(1,6,0)
./server/listen.c:#if APR_VERSION_AT_LEAST(1,7,0)
./server/listen.c:#if APR_VERSION_AT_LEAST(1,7,0)
./server/listen.c:#if !APR_VERSION_AT_LEAST(1,7,0)
./server/vhost.c:#if !APR_VERSION_AT_LEAST(1,7,0)
./server/vhost.c:#if APR_VERSION_AT_LEAST(1,7,0)
./modules/proxy/mod_serf.c:#if !APR_VERSION_AT_LEAST(1,4,0)
./modules/ssl/mod_ssl_ct.c:#if !APR_VERSION_AT_LEAST(1,5,0)
./modules/filters/mod_crypto.c:#if !APR_VERSION_AT_LEAST(2,0,0)
./modules/filters/mod_crypto.c:#if !APR_VERSION_AT_LEAST(2,0,0) && \
./modules/lua/lua_passwd.h:#if !APR_VERSION_AT_LEAST(2,0,0)
./modules/lua/lua_passwd.h:#if APR_VERSION_AT_LEAST(2,0,0) || \
./modules/metadata/mod_remoteip.c:#if !APR_VERSION_AT_LEAST(1,5,0)
./support/passwd_common.h:#if !APR_VERSION_AT_LEAST(2,0,0)
./support/passwd_common.h:#if APR_VERSION_AT_LEAST(2,0,0) || \

Regards, Joe

[1] https://travis-ci.org/notroj/httpd/jobs/609143667

Reply via email to