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