From: Guillem Jover Date: Tue, 18 Apr 2023 01:59:17 +0000 (+0200) Subject: build: Annotate droppable functions for musl on next SOVERSION bump X-Git-Tag: 0.11.8~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1186cf8822752dfadaf57a78f6b6bb5446f86006;p=thirdparty%2Flibbsd.git build: Annotate droppable functions for musl on next SOVERSION bump These are already provided by the musl libc, and can thus be dropped on the next SOVERSION bump. --- diff --git a/configure.ac b/configure.ac index c759d4e..93e3b36 100644 --- a/configure.ac +++ b/configure.ac @@ -319,6 +319,12 @@ need_fpurge=yes need_funopen=yes AS_CASE([$host_os], [*-musl*], [ + # On musl >= 0.5.0, strlcpy() and strlcat() were already implemented, + # so these can then be dropped on the next SOVERSION bump. + #need_strl=no + # On musl >= 0.9.7, optreset got implemented, so bsd_getopt() can then + # be dropped on the next SOVERSION bump. + #need_bsd_getopt=no # On musl >= 1.1.19, fopencookie() got implemented, and because we were # checking for its presence to decide whether to build funopen(), it got # included in builds even when previously it had not been included, which