On Mon, Aug 11, 2025 at 02:06:13PM +0200, Branko Čibej wrote:
> Well, this is a good start. It's tricky that we don't seem to have a
> mechanism for the user to set ABI-related flags in such a way that we end up
> exporting them from the config, but that's a whole other issue. I suppose
> we'll have to split the EXTRA_CFLAGS in two -- one for internal consumption
> and one for exported configuration. This will be tricky with, as you note,
> all the copious documentation. :)

Yeah :( We could probably safely remove half of apr_hints.m4 and nobody 
would ever notice, that was inherited from the httpd 1.3 build system 
and a bunch of it has likely never been executed from an APR release.

The other thing is that pkg-config does not expose the same set of data 
as apr-N-config (e.g. $CC, no $CFLAGS/$CPPFLAGS distinction), so there 
is more complexity in considering build system interactions which rely 
exclusively on one not the other.

(If we are proposing radical changes for v2, maybe getting rid of 
$bindir/apr-N-config entirely might be on the list?)

Regards, Joe

Reply via email to