From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from exchange.colubris.com (gate.colubris.com [206.162.167.230]) by chiba.3jane.net (Postfix) with ESMTP id 574FDAC5A7; Mon, 22 Apr 2002 13:48:19 -0500 (CDT) Received: from corneille.colubris.com ([192.168.30.129]) by exchange.colubris.com with Microsoft SMTPSVC(5.0.2195.3779); Mon, 22 Apr 2002 14:44:48 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Yannick Koehler Organization: Colubris Networks Inc. To: gentoo-dev@gentoo.org, Martin Schlemmer Subject: Re: [gentoo-dev] automake wrapper bug Date: Mon, 22 Apr 2002 14:48:16 -0400 X-Mailer: KMail [version 1.4] References: <200204201050.51133.yannick.koehler@colubris.com> <1019500534.10769.15.camel@nosferatu.lan> In-Reply-To: <1019500534.10769.15.camel@nosferatu.lan> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204221448.18017.yannick.koehler@colubris.com> X-OriginalArrivalTime: 22 Apr 2002 18:44:48.0781 (UTC) FILETIME=[C7B17BD0:01C1EA2D] Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 6d587aae-768a-47f9-a07a-97061b8eaa31 X-Archives-Hash: f7c35329efe9224f7613c284c3652b5b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 22, 2002 02:35 pm, Martin Schlemmer wrote: > On Sat, 2002-04-20 at 16:50, Yannick Koehler wrote: > > Hello, > > > > =09Actually I found my problem. The way the aclocal.m4 is generated = on my > > machine is like this > > > > =09AC_PREREQ([2.13]) > > > > =09Which the am-wrapper incorrectly parse as being version '[2.' inst= ead of > > 2.1 like it should have been. > > > > =09So there's a bug in this line which doesn't take into account squa= re > > > > brackets: > > || (cat_('aclocal.m4') =3D~ /^\s*AC_PREREQ\(([^\)]{3})[^\)]*\)/m ? $1= : '') > > || gt > > > > '2.1' > > I think you should verify this. You see, if the wrapper > cannot extract 2.1 it should fall back to automake-1.4. I found what was happening but didn't found the proper regexp to replace = the=20 existing one with as I'm far away from being an expert at Regexp. Right now if you debug the output of=20 (cat_('aclocal.m4') =3D~ /^\s*AC_PREREQ\(([^\)]{3})[^\)]*\)/m ? $1 : '') On a file that contain AC_PREREQ([2.13]) you get=20 [2. That's what I got when I did a print of the variable. This then make gt = '2.1'=20 true (I don't know why). - --=20 Yannick Koehler =20 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8xFrwfuKOJNEyL1URAl53AJ9d5ddMgc5JsreT3hvawwC1jh5MMQCeNvWW mCB3Sc+sQbgqDBJcFKuRuuk=3D =3DEPfb -----END PGP SIGNATURE-----