From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 17:56:40 2019 Received: (at 38107-done) by debbugs.gnu.org; 8 Nov 2019 22:56:40 +0000 Received: from localhost ([127.0.0.1]:47906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTDBH-0007e0-Pc for submit@debbugs.gnu.org; Fri, 08 Nov 2019 17:56:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTDBC-0007de-E4 for 38107-done@debbugs.gnu.org; Fri, 08 Nov 2019 17:56:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iTDB7-0001m8-6i; Fri, 08 Nov 2019 17:56:29 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41070 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iTDB6-0004Kb-4p; Fri, 08 Nov 2019 17:56:28 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#38107] [PATCH 1/1] configure.ac: Warn about etc/indent-code.el when Emacs is absent. References: <20191107182518.9823-1-zimon.toutoune@gmail.com> <20191107182725.9919-1-zimon.toutoune@gmail.com> Date: Fri, 08 Nov 2019 23:56:26 +0100 In-Reply-To: <20191107182725.9919-1-zimon.toutoune@gmail.com> (zimoun's message of "Thu, 7 Nov 2019 19:27:25 +0100") Message-ID: <878soqc6zp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38107-done Cc: 38107-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) zimoun skribis: > --- > configure.ac | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 689b28d984..599addfe59 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -280,9 +280,14 @@ dnl Documentation translation. > AM_MISSING_PROG([PO4A_TRANSLATE], [po4a-translate]) > AM_MISSING_PROG([PO4A_UPDATEPO], [po4a-updatepo]) >=20=20 > -dnl Emacs (optional), for 'etc/indent-package.el'. > -AC_PATH_PROG([EMACS], [emacs], [/usr/bin/emacs]) > -AC_SUBST([EMACS]) > +dnl Emacs (optional), for 'etc/indent-code.el'. > +AC_PATH_PROG([EMACS], [emacs]) > +if test "x$EMACS" =3D x; then > + AC_MSG_WARN([Install GNU Emacs to use etc/indent-code.el]) > +else > + AC_SUBST([EMACS]) > + AC_CONFIG_FILES([etc/indent-code.el], [chmod +x etc/indent-code.el]) > +fi I removed the redundant =E2=80=98AC_CONFIG_FILES=E2=80=99 from the bottom, = adjusted the commit log, and applied. Thanks! Ludo=E2=80=99.