[gimp] configure.ac: Correct detection of `xgettext`
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] configure.ac: Correct detection of `xgettext`
- Date: Sat, 18 Dec 2021 23:55:22 +0000 (UTC)
commit e5157f9894fa6e84095668b31f5f4a4bec71b206
Author: Lukas Oberhuber <lukaso gmail com>
Date: Mon Dec 13 16:18:04 2021 +0000
configure.ac: Correct detection of `xgettext`
On macOS at least, `xgettext` is not being correctly identified because
`AM_GLIB_GNU_GETTEXT` is blowing away `XGETTEXT` variable which then
messes up the version checking.
This moves that macro to after the version check.
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index b05ed166cd..130de55130 100644
--- a/configure.ac
+++ b/configure.ac
@@ -667,7 +667,6 @@ m4_define([add_deps_error], [
######################
IT_PROG_INTLTOOL(intltool_required_version)
-AM_GLIB_GNU_GETTEXT
# Testing xgettext version since we had some problem with localizing script-fu. See bug 720052.
AC_MSG_CHECKING([for xgettext version (>= xgettext_required_version)])
@@ -696,6 +695,8 @@ if test "x$have_required_xgettext" = "xno"; then
add_deps_error([xgettext], [xgettext >= xgettext_required_version])
fi
+AM_GLIB_GNU_GETTEXT
+
###########
# iso-codes
###########
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]