From f727fa6e2d1f9e18c8cff3f5725b426630fc41b7 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 14 Nov 2021 13:48:08 +0100 Subject: Require gettext >= 0.19.1 Require gettext >= 0.19.1 (from 2014-06-10), which both works properly when building on many cores, and is also the first gettext release whose po/Makefile.in.in allows disabling rebuilding of the *.po files on normal (non dist target) builds. The new po/Makefile.in.in rules fix "make distcheck" consistently failing to remove ../../../po/libgphoto2-6.pot when running "make -j$(nproc) distcheck" on a 12 core system: rm: cannot remove '../../../po/libgphoto2-6.pot': Permission denied The "make dist" (and "make distcheck") targets will still update the po files by default, but that could also be disabled in po/Makevars if we wanted to separate updating the *.po files for translation from "make dist" or "make distcheck" at any time in the future. As gettext-0.19.1 was released almost 8 years ago, this is the newest build tool release requirement for bulding libgphoto2. If you ever need to build a 2022 or later libgphoto2 from git on a system with pre 0.19.1 gettext, you can can always prepare a tarball running "make dist" on a system with gettext 0.19.1 or later, and build that tarball on the older machine. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9ff09a354..43540a6fe 100644 --- a/configure.ac +++ b/configure.ac @@ -283,7 +283,7 @@ GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2], [${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}], [po]) AM_PO_SUBDIRS() -AM_GNU_GETTEXT_VERSION([0.18.3]) +AM_GNU_GETTEXT_VERSION([0.19.1]) AM_GNU_GETTEXT([external]) AM_ICONV() -- cgit v1.2.1