From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20982 invoked by alias); 20 Dec 2012 15:59:25 -0000 Received: (qmail 20974 invoked by uid 22791); 20 Dec 2012 15:59:25 -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; Thu, 20 Dec 2012 15:59:20 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 917A22E51E; Thu, 20 Dec 2012 10:59:19 -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 E2rFqhQoBa2n; Thu, 20 Dec 2012 10:59:19 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 015532E51F; Thu, 20 Dec 2012 10:59:18 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 6AC4CC3902; Thu, 20 Dec 2012 19:59:06 +0400 (RET) Date: Thu, 20 Dec 2012 15:59:00 -0000 From: Joel Brobecker To: Matthias Klose Cc: gdb-patches@sourceware.org Subject: Re: [patch] use python-config if available Message-ID: <20121220155906.GB5370@adacore.com> References: <50D331A6.5070102@ubuntu.com> <50D3321C.5030902@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50D3321C.5030902@ubuntu.com> 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/msg00753.txt.bz2 > > This patch does use the python-config, which comes shipped with the python > > interpreter, and falls back to the internal copy of python-config.py. > > AC_CHECK_TOOL is used to find a possible python-config for the host. > > > > Tested with 7.5 with a native and a cross build. Can you tell us what problem you are trying to solve? Your patch would most certainly break the build in my case, as I rely on some local changes made to our copy of python-config.py, which I cannot contribute because they break some setups different than ours. -- Joel