diff options
| author | Sebastian Kemper <sebastian_ml@gmx.net> | 2020-02-04 21:39:43 +0100 |
|---|---|---|
| committer | Sebastian Kemper <sebastian_ml@gmx.net> | 2020-02-04 21:50:30 +0100 |
| commit | 86396c6a49a90a3b0bd2045e472b999a23ba3e77 (patch) | |
| tree | f2e121eaaa498b260e7c819d918608915cff761d /lang/python/python-contextlib2 | |
| parent | 0c6d461cc9fea34eaf59517f5cb5ed1214a217de (diff) | |
apr: add configure vars and caches
apr's configure script uses lots of AC_TRY_RUNs and when cross-compiling
needs a leg-up. This commit adds more configure variables (and removes
one, too).
Notable changes:
- apr_cv_use_lfs64=yes is removed (again) after having a discussion
about it with the musl developers. The conclusion was that
_LARGEFILE64_SOURCE is a horrible thing that we don't want and should
avoid (hence the removal of the variable, because defining
_LARGEFILE64_SOURCE is all it does).
- ap_cv_atomic_builtins is set to "yes" for 64-bit platforms. If
anybody is interested in enabling this for other targets feel free to
send a patch after testing it.
- configure doesn't add -lpthread to LIBS when cross-compiling. This is
not a problem for musl but might be for other libcs. This commit adds
to related variable.
- configure caches are added (via patches) for strerror and /dev/zero
mmap tests. The former fixes a warning on musl (where strerror
returns int instead of a pointer) and the latter is required for
pthread pshared mutex apr_lock implementation and cannot be detected
during cross-compile either.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'lang/python/python-contextlib2')
0 files changed, 0 insertions, 0 deletions
