Subversion configure script broken for serf if sysroot path contains "-D"
From: Bruce Bye <bruce.bye_at_realvnc.com>
Date: Fri, 15 May 2015 11:38:02 +0000
If you attempt to cross-compile subversion with a sysroot path containing "-D", blame.c will fail to compile, failing to find serf.h.
The root cause is this line in serf.m4:
I assume the intention is simply to strip any pre-compile defines from the cflags returned by pkg-config, but the regex is too aggressive.
This was observed in subversion 1.8.9, doing a Yocto build on Linux, but a code inspection of 1.8.13 suggests the issue is still there and it doesn't look especially platform sensitive.
This is an archived mail posted to the Subversion Dev mailing list.