From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11795 invoked by alias); 2 Feb 2011 16:10:58 -0000 Received: (qmail 11785 invoked by uid 22791); 2 Feb 2011 16:10:57 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.fgznet.ch (HELO smtp.fgznet.ch) (81.92.96.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Feb 2011 16:10:50 +0000 Received: from deuterium.andreas.nets (dhclient-91-190-8-131.flashcable.ch [91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id p12GAOWe052221; Wed, 2 Feb 2011 17:10:25 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <4D4975AF.3050704@fgznet.ch> Date: Wed, 02 Feb 2011 16:10:00 -0000 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Joel Brobecker CC: "gdb@sourceware.org" Subject: Re: Python detection fallout with non GNU sed References: <4D486FE8.7040306@fgznet.ch> <20110202044534.GH2400@adacore.com> In-Reply-To: <20110202044534.GH2400@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00009.txt.bz2 On 02.02.11 05:45, Joel Brobecker wrote: >> a recent commit to the configure.ac/configure in src/gdb broke the >> machinery on machines which do not have GNU sed. > > That's me, sorry. Np. >> I tried the follwoing on those systems and on linux-ppc: >> >> sed -e 's,^.* -l\(python[0-9]*[.][0-9]*\).*$,\1,'` >> >> (the same expression w/o the \? quantifier.) > > This is not going to work on Windows, because windows the python > library does not have the dot in the version number (Eg: Python27). > > I've checked in a fix. Can you retry? This is fine with me. Tested on darwin and FreeBSD. Works perfect here. Thank you very much for the quick fix. Gruss, Andreas