1From 857ac91a03a096601f62b358fc61355d4cc25b9b Mon Sep 17 00:00:00 2001 2From: Fabrice Fontaine <fontaine.fabrice@gmail.com> 3Date: Sat, 9 Oct 2021 18:51:13 +0200 4Subject: [PATCH] configure.ac: fix autoreconf with autoconf >= 2.70 5 6Remove the whitespace before IT_PROG_INTLTOOL as suggested in 7https://www.mail-archive.com/bug-autoconf@gnu.org/msg04851.html 8to avoid the following build failure with autoconf >= 2.70: 9 10ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work. 11 12The problem has been introduced by upstream autoconf commit 13http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=b3b3af821a0b9e82ebe56b77b1731d2fe58f52de 14 15Fixes: 16 - http://autobuild.buildroot.org/results/e8bea26f6b12adf16335b24836a7c5c31911af6a 17 18Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 19[Upstream status: not upstreamable as upstream swicthed to cmake ( 20https://github.com/transmission/transmission/issues/1573)] 21--- 22 configure.ac | 4 +--- 23 1 file changed, 1 insertion(+), 3 deletions(-) 24 25diff --git a/configure.ac b/configure.ac 26index fd1132fda..04e0e19bb 100644 27--- a/configure.ac 28+++ b/configure.ac 29@@ -555,9 +555,7 @@ dnl it should be safe to re-edit 0.40 back down to 0.23 30 use_nls=no 31 if test "x$enable_nls" = "xyes" ; then 32 use_nls=yes 33- m4_ifdef([IT_PROG_INTLTOOL], 34- [IT_PROG_INTLTOOL([0.35.0],[no-xml])], 35- [AC_MSG_ERROR("--enable-nls requires intltool to be installed.")]) 36+IT_PROG_INTLTOOL([0.35.0],[no-xml]) 37 AC_CHECK_HEADERS([libintl.h]) 38 GETTEXT_PACKAGE=transmission-gtk 39 AC_SUBST(GETTEXT_PACKAGE) 40-- 412.33.0 42 43