diff mbox series

[1/2] configure.ac: add AM_GNU_GETTEXT_REQUIRE_VERSION

Message ID 20210302103458.819043-2-hverkuil-cisco@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series v4l-utils: fix gettext problems | expand

Commit Message

Hans Verkuil March 2, 2021, 10:34 a.m. UTC
This is needed for newer gettext versions (>= 0.20).

It avoids this error:

Making all in v4l-utils-po
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.20 but the autoconf macros are from gettext version 0.19

The old AM_GNU_GETTEXT_VERSION is still needed for older (< 2.70)
autoconf versions.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 5290fa01..62b12549 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,7 +97,10 @@  PKG_PROG_PKG_CONFIG
 DX_DOT_FEATURE(ON)
 DX_INIT_DOXYGEN($PACKAGE_NAME, doxygen_libdvbv5.cfg)
 ALL_LINGUAS=""
+# AM_GNU_GETTEXT_VERSION kept for autoreconf versions that do
+# not support AM_GNU_GETTEXT_REQUIRE_VERSION
 AM_GNU_GETTEXT_VERSION([0.19.8])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
 AM_GNU_GETTEXT([external])
 
 LIBDVBV5_DOMAIN="libdvbv5"