diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2021-11-14 13:48:08 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2022-05-19 16:59:51 +0200 |
commit | f727fa6e2d1f9e18c8cff3f5725b426630fc41b7 (patch) | |
tree | ce52705bc8c1b21f2f8414fbf578783b59f26f1f /configure.ac | |
parent | 34da56e174ec2c2e812b1b19b88db2bdb169c607 (diff) | |
download | libgphoto2-f727fa6e2d1f9e18c8cff3f5725b426630fc41b7.tar.gz |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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() |