From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32554 invoked by alias); 21 Dec 2012 17:51:12 -0000 Received: (qmail 32546 invoked by uid 22791); 21 Dec 2012 17:51:10 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Dec 2012 17:51:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B7B202E155; Fri, 21 Dec 2012 12:51:05 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id afhFVzaoJllb; Fri, 21 Dec 2012 12:51:05 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4A6712E14C; Fri, 21 Dec 2012 12:51:05 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 24D4DC3904; Fri, 21 Dec 2012 21:50:59 +0400 (RET) Date: Fri, 21 Dec 2012 17:51:00 -0000 From: Joel Brobecker To: Doug Evans Cc: Matthias Klose , gdb-patches@sourceware.org Subject: Re: [patch] use python-config if available Message-ID: <20121221175058.GH5370@adacore.com> References: <50D331A6.5070102@ubuntu.com> <50D3321C.5030902@ubuntu.com> <20121220155906.GB5370@adacore.com> <50D3391A.4000506@ubuntu.com> <20121221075721.GE5370@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00772.txt.bz2 > The patch is fine with me. > [The plan wasn't to shift and call the "real" python-config ... at the > time there was no real python-config for cross builds.] > > One typo: should be ${python_config} > > - AC_ERROR(failure running python-config --exec-prefix) > + AC_ERROR(failure running ${python-config} --exec-prefix) Can we make this new behavior optional? The "real" python-config is broken for several platforms, and having our own that we can control was very convenient. -- Joel