summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-04-24 14:36:27 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2022-04-25 08:37:10 +0200
commita48d2ba8d7d208f3dd1f4e864d0ad7c653ecef75 (patch)
tree624f2302c9ee5561d18901982ae8f788e7de0af9
parentd3097b33253ac99c42c1c62a537c47a922e00c0d (diff)
downloadfindutils-a48d2ba8d7d208f3dd1f4e864d0ad7c653ecef75.tar.gz
build: bump gettext version to 0.19.8
findutils failed to build from source on musl-libc, because it failed to detect gettext availability. Newer gettext fixes this: Version 0.19.8 - June 2016 [...] - The AM_GNU_GETTEXT Autoconf macro can now detect musl-libc's gettext as a compatible implementation. * configure.ac (AM_GNU_GETTEXT_VERSION): Update from 0.19.3 to 0.19.8. (AM_GNU_GETTEXT_REQUIRE_VERSION): Add to make autopoint pull the latest available version instead of the exact specified version. * NEWS: Mention the change. Reported via Andreas Metzler <ametzler@bebt.de> at: https://sv.gnu.org/patch/?10203 Fixes: https://bugs.debian.org/1009874 Copyright-paperwork-exempt: Yes
-rw-r--r--NEWS5
-rw-r--r--configure.ac7
2 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 6b8c3493..dffca5aa 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,11 @@ GNU findutils NEWS - User visible changes. -*- outline -*- (allout)
to match the root directory "/". Previously, a diagnostic falsely claimed
that this pattern would not match anything. [#62227]
+** Changes to the build process
+
+ findutils now builds again on systems with musl-libc.
+ This requires gettext-0.19.8.
+
* Noteworthy changes in release 4.9.0 (2022-02-22) [stable]
diff --git a/configure.ac b/configure.ac
index 5c34d10a..d6341f17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -276,9 +276,12 @@ AC_CHECK_MEMBER(struct dirent.d_type,,,[
jy_AC_ATTRIBUTE_NORETURN
-dnl internationalization macros
+dnl Internationalization macros.
+dnl AM_GNU_GETTEXT_REQUIRE_VERSION makes autopoint pull the latest available
+dnl version instead of the exact specified version.
AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19.3])
+AM_GNU_GETTEXT_VERSION([0.19.8])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
dnl regextype.c and regexprops.c are designed to be usable outside findutils,
dnl but findutils doesn't want to support all the regex types in gnulib,