From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 18:03:17 2011 Received: (at submit) by debbugs.gnu.org; 30 Jan 2011 23:03:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjgIe-0008Nk-PD for submit@debbugs.gnu.org; Sun, 30 Jan 2011 18:03:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjgIc-0008NX-Io for submit@debbugs.gnu.org; Sun, 30 Jan 2011 18:03:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjgQe-0001ME-Su for submit@debbugs.gnu.org; Sun, 30 Jan 2011 18:11:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjgQe-0001MA-Qr for submit@debbugs.gnu.org; Sun, 30 Jan 2011 18:11:32 -0500 Received: from [140.186.70.92] (port=53610 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjgQd-0003ju-SE for bug-automake@gnu.org; Sun, 30 Jan 2011 18:11:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjgQd-0001Lf-14 for bug-automake@gnu.org; Sun, 30 Jan 2011 18:11:31 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:32968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjgQc-0001Lb-VH for bug-automake@gnu.org; Sun, 30 Jan 2011 18:11:30 -0500 Received: by vxb41 with SMTP id 41so280728vxb.0 for ; Sun, 30 Jan 2011 15:11:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=vhfERa2RXm47sA8qt/vlf5ddrsC8/xZGXYZm3rQE6Fo=; b=rbcZuzP7nW9mEzLVh6WTw82kmeXe52l8UnBDA3V3Sez/ek1CLtENp+jSuMKxO7VqxW RYdwy+kTKIKq1m+D1FXXknxgP4PsY2xZpRKq9P2Tz+FiWrGge9zxuUiJcupS+Q36//27 78iyYFLsLVSF/u/UbiKPUXHxdkND1ggRAMnP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=G1fcCe6aAwjFBDZHl8Lu6NgR7kNHYLwyubYR4z4bhMq9HoOfksAjG6XdeIywqSlGvv N24Q4IGpmDNkgp4wvPgQacT6i2zczCiS9mS900ne6jx7u2QqywVBgvk513zcvaHAl2TJ 5x/mtA6z/JQtqGCHyjheAmGiK+FqKaUNFjF10= MIME-Version: 1.0 Received: by 10.220.198.135 with SMTP id eo7mr1348083vcb.194.1296429089896; Sun, 30 Jan 2011 15:11:29 -0800 (PST) Received: by 10.220.188.136 with HTTP; Sun, 30 Jan 2011 15:11:29 -0800 (PST) Date: Mon, 31 Jan 2011 10:11:29 +1100 X-Google-Sender-Auth: --EsAILqNNUs506B3fsp6lpyb1Y Message-ID: Subject: Should AM_PATH_PYTHON call AC_ARG_VAR? From: Jack Kelly To: bug-automake@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Hi automakers, I've noticed that if you put AM_PATH_PYTHON in configure.ac, it doesn't add an entry for PYTHON in ./configure --help. Is PYTHON meant to be a user's variable? Minimal configure.ac: AC_INIT AM_PATH_PYTHON AC_OUTPUT -- Jack From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 31 15:23:54 2011 Received: (at 7944) by debbugs.gnu.org; 31 Jan 2011 20:23:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk0Hx-0004yK-Ti for submit@debbugs.gnu.org; Mon, 31 Jan 2011 15:23:54 -0500 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk0Hv-0004y6-Ns for 7944@debbugs.gnu.org; Mon, 31 Jan 2011 15:23:52 -0500 Received: by wwj40 with SMTP id 40so6424550wwj.15 for <7944@debbugs.gnu.org>; Mon, 31 Jan 2011 12:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:message-id; bh=sprMgfaVafpXKId3kT7A/ICbrrLfRLo70jOGz5mxbG0=; b=rHdIFqEqJruB8LlaLgjlAOrWyIfKZ+59SSsJxcWttHi5eO9TuF8LaaeDbYzqrY8C18 v6Ej4rLkY4gp5RVutaZDo/yZ/7sUuRxWgHv98qCnfYBCY3kfXDkh4wG3/szBF4C9ImEd Q2Be/hMyYi/WGrb03HclYbMAe3uLFJTs6Zz0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id; b=SFDxaKs23iueOYCWmwAgMzuqXIUYxm4ELrfqtI/wnXPoJlcHfpiRK6SqWwesUkhEJq B1VLzB+WcW0RUD3Wy9dA05nLs2KdqOhDD30OwtGsFmSpck7mPv6bPspik24HSExKQiMf LJA3LdD16WnysT8CzALyou3mc4jVI28lVSgig= Received: by 10.216.35.74 with SMTP id t52mr6273997wea.103.1296505932171; Mon, 31 Jan 2011 12:32:12 -0800 (PST) Received: from bigio.localnet (host96-165-dynamic.50-82-r.retail.telecomitalia.it [82.50.165.96]) by mx.google.com with ESMTPS id u2sm8395423weh.12.2011.01.31.12.32.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 12:32:11 -0800 (PST) From: Stefano Lattarini To: automake-patches@gnu.org Subject: Re: bug#7944: Should AM_PATH_PYTHON call AC_ARG_VAR? Date: Mon, 31 Jan 2011 21:31:37 +0100 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_qwxRNCV4yXafxcK" Message-Id: <201101312131.38550.stefano.lattarini@gmail.com> X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 7944 Cc: 7944@debbugs.gnu.org, Jack Kelly X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) --Boundary-00=_qwxRNCV4yXafxcK Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Monday 31 January 2011, Jack Kelly wrote: > Hi automakers, > > I've noticed that if you put AM_PATH_PYTHON in configure.ac, it > doesn't add an entry for PYTHON in ./configure --help. Is PYTHON meant > to be a user's variable? > According to the comments in `m4/python.m4' and to the tests `python{4,6,11}.test', it is (and I think that's a good policy). Documenting the fact in the configure help screen and in the manual would be a good idea too. What about the attached patch? BTW, Jack, are you the same Jack Kelly already listed in THANKS ("Jack Kelly ")? If yes, should we update your e-mail address? Regards, Stefano --Boundary-00=_qwxRNCV4yXafxcK Content-Type: text/x-patch; charset="us-ascii"; name="0001-python-report-the-PYTHON-influential-environment-var.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="0001-python-report-the-PYTHON-influential-environment-var.patch" =46rom da5fccb5ebb2eb5302bdb4734f11222dfce6924c Mon Sep 17 00:00:00 2001 =46rom: Stefano Lattarini Date: Mon, 31 Jan 2011 21:24:02 +0100 Subject: [PATCH] python: report the 'PYTHON' influential environment variab= le * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON. * doc/automake.texi (Python): Update and extend. * tests/help-python.test: New test. * tests/Makefile.am (TESTS): Update. Suggestion from Jack Kelly. =2D-- ChangeLog | 9 +++++++++ doc/automake.texi | 26 ++++++++++++++++---------- m4/python.m4 | 2 ++ tests/Makefile.am | 1 + tests/Makefile.in | 1 + tests/help-python.test | 38 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 67 insertions(+), 10 deletions(-) create mode 100755 tests/help-python.test diff --git a/ChangeLog b/ChangeLog index dd96e23..05820e1 100644 =2D-- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-01-31 Stefano Lattarini + + python: report the 'PYTHON' influential environment variable + * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON. + * doc/automake.texi (Python): Update and extend. + * tests/help-python.test: New test. + * tests/Makefile.am (TESTS): Update. + Suggestion from Jack Kelly. + 2011-01-29 Stefano Lattarini =20 tests: fix spurious failures in lflags*.test diff --git a/doc/automake.texi b/doc/automake.texi index f5066d4..4a6e08f 100644 =2D-- a/doc/automake.texi +++ b/doc/automake.texi @@ -7605,16 +7605,22 @@ installed (see the definitions of @code{pythondir} = and =20 @defmac AM_PATH_PYTHON (@ovar{version}, @ovar{action-if-found}, @ovar{acti= on-if-not-found}) =20 =2DSearch for a Python interpreter on the system. This macro takes three =2Doptional arguments. The first argument, if present, is the minimum =2Dversion of Python required for this package: @code{AM_PATH_PYTHON} =2Dwill skip any Python interpreter that is older than @var{version}. =2DIf an interpreter is found and satisfies @var{version}, then =2D@var{action-if-found} is run. Otherwise, @var{action-if-not-found} is =2Drun. =2D =2DIf @var{action-if-not-found} is not specified, as in the following =2Dexample, the default is to abort @command{configure}. +Search for a Python interpreter on the system. The user can force the +choice with the configuration variable @env{PYTHON}. + +This macro takes three optional arguments. + +The first argument, if present, is the minimum version of Python required +for this package; @code{AM_PATH_PYTHON} will skip any Python interpreter +that is older than @var{version}. Note that, if @env{PYTHON} was specified +by the user, the version check will still take place, but no other Python +interpreter will be tried if that fails. + +If an interpreter is found and satisfies @var{version} (which, in case +@var{version} is empty or unspecified, means @emph{any} interpreter), then +@var{action-if-found} is run. Otherwise, @var{action-if-not-found} is run. +If @var{action-if-not-found} is not specified, as in the following example +, the default is to abort @command{configure}. =20 @example AM_PATH_PYTHON([2.2]) diff --git a/m4/python.m4 b/m4/python.m4 index 50e1538..655dcf3 100644 =2D-- a/m4/python.m4 +++ b/m4/python.m4 @@ -40,6 +40,8 @@ AC_DEFUN([AM_PATH_PYTHON], [python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) =20 + AC_ARG_VAR([PYTHON], [the Python interpreter]) + m4_if([$1],[],[ dnl No version check is needed. # Find any Python interpreter. diff --git a/tests/Makefile.am b/tests/Makefile.am index 78bacf2..ed7287c 100644 =2D-- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -371,6 +371,7 @@ help-init.test \ help-lispdir.test \ help-maintainer.test \ help-multilib.test \ +help-python.test \ help-regex.test \ help-silent.test \ help-upc.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 18cb337..560e523 100644 =2D-- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -638,6 +638,7 @@ help-init.test \ help-lispdir.test \ help-maintainer.test \ help-multilib.test \ +help-python.test \ help-regex.test \ help-silent.test \ help-upc.test \ diff --git a/tests/help-python.test b/tests/help-python.test new file mode 100755 index 0000000..ecad233 =2D-- /dev/null +++ b/tests/help-python.test @@ -0,0 +1,38 @@ +#! /bin/sh +# Copyright (C) 2011 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Make sure that our private macro `AM_DEP_TRACK' adds proper text to +# the configure help screen. +# Keep this in sync with sister test `help-depend2.test' + +. ./defs || Exit 1 + +set -e + +cat > configure.in <stdout || { cat stdout; Exit 1; } +cat stdout + +grep '^ *PYTHON *the Python interpreter$' stdout + +: =2D-=20 1.7.2.3 --Boundary-00=_qwxRNCV4yXafxcK-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 31 17:51:03 2011 Received: (at 7944) by debbugs.gnu.org; 31 Jan 2011 22:51:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2aM-00088v-V0 for submit@debbugs.gnu.org; Mon, 31 Jan 2011 17:51:03 -0500 Received: from mail-qy0-f179.google.com ([209.85.216.179]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2aK-00088S-K2 for 7944@debbugs.gnu.org; Mon, 31 Jan 2011 17:51:01 -0500 Received: by qyj19 with SMTP id 19so6200826qyj.3 for <7944@debbugs.gnu.org>; Mon, 31 Jan 2011 14:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eVFBYG2Ev0I+6wdkiGX1VNulHqzclB1U0afw2D5vhwE=; b=IKiSOOIik1MEb9HL/nIlE/gRQacZ+k+M7n1YIJeU2koxUTd28EZuUCZEKJCIA24MGt na+CgSkeUYazD61BHH6f4j4FNFFvLCvU2ViJmz8RSVvDmHSOS/QoTPfc1nxUHnWwvOuk BMVgLGYTvY9KshdgqN9DZDxUOTRjr0JMR+8B8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=T4rqYutKpaKJf0ybnDYfg20e1JYtmbqx73pNZGLLuz4Qs3XKJlsN7P1HzISI806xx8 ZNj++htyFdsGOYLGtvX8FBGlN8funwUuxK65B+MJVqMfSX1FGdYvkk3UjT1JLllEybRd p0AX+ELGktqy6YOairtS9FihcXeo6OiCKPXso= MIME-Version: 1.0 Received: by 10.229.220.134 with SMTP id hy6mr4566648qcb.287.1296514761695; Mon, 31 Jan 2011 14:59:21 -0800 (PST) Received: by 10.220.188.136 with HTTP; Mon, 31 Jan 2011 14:59:21 -0800 (PST) In-Reply-To: <201101312131.38550.stefano.lattarini@gmail.com> References: <201101312131.38550.stefano.lattarini@gmail.com> Date: Tue, 1 Feb 2011 09:59:21 +1100 X-Google-Sender-Auth: eGYIXYL1BTNFPCuUJnz0qUB50vw Message-ID: Subject: Re: bug#7944: Should AM_PATH_PYTHON call AC_ARG_VAR? From: Jack Kelly To: Stefano Lattarini Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 7944 Cc: 7944@debbugs.gnu.org, automake-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) On Tue, Feb 1, 2011 at 7:31 AM, Stefano Lattarini wrote: > On Monday 31 January 2011, Jack Kelly wrote: >> I've noticed that if you put AM_PATH_PYTHON in configure.ac, it >> doesn't add an entry for PYTHON in ./configure --help. Is PYTHON meant >> to be a user's variable? > According to the comments in `m4/python.m4' and to the tests > `python{4,6,11}.test', it is (and I think that's a good policy). > Documenting the fact in the configure help screen and in the > manual would be a good idea too. =A0What about the attached patch? Looks good to me, bar the following nit: doc/automake.texi: +If @var{action-if-not-found} is not specified, as in the following example +, the default is to abort @command{configure}. Should the comma be on the previous line? > BTW, Jack, are you the same Jack Kelly already listed in THANKS > ("Jack Kelly ")? =A0If yes, should we update > your e-mail address? Yes I am, and yes please. -- Jack From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 31 17:56:28 2011 Received: (at 7944) by debbugs.gnu.org; 31 Jan 2011 22:56:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2fc-0008Fw-7Q for submit@debbugs.gnu.org; Mon, 31 Jan 2011 17:56:28 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2fa-0008Fl-7i for 7944@debbugs.gnu.org; Mon, 31 Jan 2011 17:56:26 -0500 Received: by wyf23 with SMTP id 23so6409624wyf.3 for <7944@debbugs.gnu.org>; Mon, 31 Jan 2011 15:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=Rw/xtRhSB9I5UTPpVAO+nrbYI7ztJdROQzaxW7aq5tc=; b=E0P1UZIizTFO4yGBgCGt44dpjLFLdluayRD+VwZR6KoDd10GLC2YEThd5xGSIWedqW uVhByNX67JTpyYehwLIZITRz3icyktPQdzssxyD2MoTW5j5rN0SboP1rKKJaNMMTQg9g lSmRBA4bRF4oo0G1QP9pqTCirRWl/hzhTnqgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=kaWv6uP5OIEYg2aWAspH+sj3pLo5EULCfKHe2M0YiBuEnlybyvXo4jGlJoPnqjvbzy C6V7gjTQc62JLs9m9DwyLJGXMFdacil6H1CEYsitlspj6NsrJuEkg73EEd0eH09B3bMB xaWlHsa+NnMHdBlIg2bGK/gDtdUfHF5dYAG6Q= Received: by 10.227.141.136 with SMTP id m8mr6866276wbu.179.1296515087287; Mon, 31 Jan 2011 15:04:47 -0800 (PST) Received: from bigio.localnet (host96-165-dynamic.50-82-r.retail.telecomitalia.it [82.50.165.96]) by mx.google.com with ESMTPS id j49sm11096720wer.38.2011.01.31.15.04.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 15:04:46 -0800 (PST) From: Stefano Lattarini To: Jack Kelly Subject: Re: bug#7944: Should AM_PATH_PYTHON call AC_ARG_VAR? Date: Tue, 1 Feb 2011 00:04:32 +0100 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201101312131.38550.stefano.lattarini@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102010004.33026.stefano.lattarini@gmail.com> X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 7944 Cc: 7944@debbugs.gnu.org, automake-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) On Monday 31 January 2011, Jack Kelly wrote: > On Tue, Feb 1, 2011 at 7:31 AM, Stefano Lattarini > wrote: > > On Monday 31 January 2011, Jack Kelly wrote: > >> I've noticed that if you put AM_PATH_PYTHON in configure.ac, it > >> doesn't add an entry for PYTHON in ./configure --help. Is PYTHON meant > >> to be a user's variable? > > According to the comments in `m4/python.m4' and to the tests > > `python{4,6,11}.test', it is (and I think that's a good policy). > > Documenting the fact in the configure help screen and in the > > manual would be a good idea too. What about the attached patch? > > Looks good to me, bar the following nit: > > doc/automake.texi: > +If @var{action-if-not-found} is not specified, as in the following example > +, the default is to abort @command{configure}. > > Should the comma be on the previous line? > Yes, thanks for pointing it out. Consider that fixed. > > BTW, Jack, are you the same Jack Kelly already listed in THANKS > > ("Jack Kelly ")? If yes, should we update > > your e-mail address? > > Yes I am, and yes please. > Will do. > -- Jack > Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 03:59:53 2011 Received: (at control) by debbugs.gnu.org; 1 Feb 2011 08:59:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkC5Y-0005mL-NX for submit@debbugs.gnu.org; Tue, 01 Feb 2011 03:59:52 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkC5W-0005lz-MX for control@debbugs.gnu.org; Tue, 01 Feb 2011 03:59:51 -0500 Received: by wyf23 with SMTP id 23so6813809wyf.3 for ; Tue, 01 Feb 2011 01:08:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; bh=zHDgBx6MYFbJyrD05+yJWN7fdFoHhac092bW7HXBEks=; b=Aee9kKX+MJ4n6ecXa9WtKQyG5WzJNqjvVC2xmDVzpOekd8gWHD9vE5V7e1De8PgbDG eKytzzbX42DuNGW5U+e5jNlgF0ScChG2Q4z0AsjQTH9TKgulx32BnP0DRRWDplk9kzuU O+izNPusFiLKqK8ZXnswdujdcKW8yksCqD9YA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=t8O2y5mkqrV/LZa+IKedSAkQ3Xyn2hpSjQ7ap+iLIR1Mrci/OF0lVJAQHafzYi/JMW w5Rb86T5kRa0gyWeOPao6ZB68rQIvt4+E4ZLDlv6ZupCQSXSna7vhPTzoivTOjFnuRp9 Z2eCSRExa3eVQtAmy60ZxV19CqQlJYjkUSUzM= Received: by 10.227.128.75 with SMTP id j11mr7314314wbs.60.1296551292907; Tue, 01 Feb 2011 01:08:12 -0800 (PST) Received: from bigio.localnet (host173-92-dynamic.54-82-r.retail.telecomitalia.it [82.54.92.173]) by mx.google.com with ESMTPS id u2sm8698090weh.12.2011.02.01.01.08.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Feb 2011 01:08:12 -0800 (PST) From: Stefano Lattarini To: control@debbugs.gnu.org Subject: patches for automake bugs Date: Tue, 1 Feb 2011 10:07:41 +0100 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201102011007.42053.stefano.lattarini@gmail.com> X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) tags 7944 patch tags 7873 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 18 05:11:11 2011 Received: (at 7944-done) by debbugs.gnu.org; 18 Feb 2011 10:11:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqNIt-000791-2b for submit@debbugs.gnu.org; Fri, 18 Feb 2011 05:11:11 -0500 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqNIq-00078p-N6 for 7944-done@debbugs.gnu.org; Fri, 18 Feb 2011 05:11:09 -0500 Received: by ewy8 with SMTP id 8so1578961ewy.3 for <7944-done@debbugs.gnu.org>; Fri, 18 Feb 2011 02:11:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=ZUXaRi3eRVmjQtZUDruhQU3RkV3MRrJCAq9JV0eQAUY=; b=iM6iEYkAPSbhcQou4IBwJe+Ixe2fKDhH39neTCpfJ20MBkZnkiFRnPFAQbS4uPAcUK SPAmWyWtsNG+wTc6SJ3y1rjfY6ZGkgXOeRxtUTd6Iuz7PjHBdYE34PAW5Hm2AcXI9K+A sQKbrcpSl5qeZrdiJMVdDPmHpmxCNC6u6MgUM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=V9s4wo2TunY+G531APNTDgHyQUWb4fMT1YVXlzHhjqRuOozf3mhovPPhcBV+1neR5P WT4sdNni2LUN+ek9AMkBxsXSso6JfDoc9toGOMD1wLfAj8Myk/b4PLvCXonuIW5VCUQE iTZ+ODk2xVcCcF+H0ttoq1vrngX4TkTgpehNc= Received: by 10.14.45.79 with SMTP id o55mr612353eeb.24.1298023862913; Fri, 18 Feb 2011 02:11:02 -0800 (PST) Received: from bigio.localnet (host109-58-dynamic.1-79-r.retail.telecomitalia.it [79.1.58.109]) by mx.google.com with ESMTPS id t50sm1755788eeh.6.2011.02.18.02.11.00 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Feb 2011 02:11:00 -0800 (PST) From: Stefano Lattarini To: Jack Kelly , 7944-done@debbugs.gnu.org Subject: Re: bug#7944: Should AM_PATH_PYTHON call AC_ARG_VAR? Date: Fri, 18 Feb 2011 11:10:47 +0100 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201101312131.38550.stefano.lattarini@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102181110.48628.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 7944-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) On Monday 31 January 2011, Jack Kelly wrote: > On Tue, Feb 1, 2011 at 7:31 AM, Stefano Lattarini > wrote: > > On Monday 31 January 2011, Jack Kelly wrote: > > > I've noticed that if you put AM_PATH_PYTHON in configure.ac, it > > > doesn't add an entry for PYTHON in ./configure --help. Is PYTHON meant > > > to be a user's variable? > > According to the comments in `m4/python.m4' and to the tests > > `python{4,6,11}.test', it is (and I think that's a good policy). > > Documenting the fact in the configure help screen and in the > > manual would be a good idea too. What about the attached patch? > > > BTW, Jack, are you the same Jack Kelly already listed in THANKS > > ("Jack Kelly ")? If yes, should we update > > your e-mail address? > > Yes I am, and yes please. > > -- Jack > The bug has been fixed with commit v1.11-312-g5bf7af6: I'm thus closing this report. Regards, Stefano From unknown Sat Aug 16 22:48:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Mar 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator