[PATCH 1/2] configure.ac: add AM_GNU_GETTEXT_REQUIRE_VERSION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

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"
-- 
2.30.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux