diff options
author | Wolfgang Haupt <haupt.wolfgang@gmail.com> | 2021-03-03 16:06:37 +0100 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2021-03-09 12:12:23 +0000 |
commit | 1e00a7a0cec113aa49cd14ff790bdc66dc51147a (patch) | |
tree | c9f5235539af4f1c925f26bcb589d1eb40c9f7e4 | |
parent | 9773f3e5130812e289d09f35514876af12650155 (diff) |
The use of AM_GNU_GETTEXT_VERSION in configure.ac instructs autopoint to
copy po/Makefile.in.in from the exact gettext version. It is fine if the
version of gettext installed on the system has the same minor version
number with the requested version, but it fails if you have a newer
version of gettext because of the mismatch between autoconf macros and
Makefile.in.in.
*** error: gettext infrastructure mismatch: using a Makefile.in.in
from gettext version 0.19 but the autoconf macros are from gettext
version 0.20
Instead of specifying the exact version with AM_GNU_GETTEXT_VERSION, we
can use AM_GNU_GETTEXT_REQUIRE_VERSION to ask autopoint to simply use
the gettext version installed on the system to prevent the mismatch.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1a2314bb..a7b92994 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AM_MAINTAINER_MODE([enable]) AM_GNU_GETTEXT_VERSION([0.19.8]) +AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) AM_GNU_GETTEXT([external]) PKG_PROG_PKG_CONFIG |