1 From 467156efccc5e36a36bec8c0b64cc5a70f14d5ed Mon Sep 17 00:00:00 2001
2 From: Yana Timoshenko <yana@riseup.net>
3 Date: Tue, 16 Jan 2018 11:43:46 +0000
4 Subject: [PATCH] Fix Autoconf script
6 gettext/intltool macros are not used correctly, see:
7 https://bugs.launchpad.net/inkscape/+bug/1418943
10 configure.ac | 5 +----
11 2 files changed, 2 insertions(+), 9 deletions(-)
13 diff --git a/bootstrap b/bootstrap
14 index 0599cf5..40b1dca 100755
20 -# change to root directory
23 -autopoint --force && \
24 - AUTOPOINT="intltoolize --automake --copy" autoreconf --force --install --verbose
25 +autoreconf --force --install && intltoolize
26 diff --git a/configure.ac b/configure.ac
27 index be0b51a..a2e7c42 100644
30 @@ -17,6 +17,7 @@ AC_PROG_OBJC # For macOS support modules
33 AC_PROG_INTLTOOL([0.50])
38 @@ -51,10 +52,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [
40 AC_LANG_POP([Objective C])
42 -# Checks for libraries.
43 -AM_GNU_GETTEXT_VERSION([0.17])
44 -AM_GNU_GETTEXT([external])
46 GETTEXT_PACKAGE=redshift
47 AC_SUBST(GETTEXT_PACKAGE)
48 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])