From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9237 invoked by alias); 20 Dec 2012 15:41:37 -0000 Received: (qmail 9229 invoked by uid 22791); 20 Dec 2012 15:41:37 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from youngberry.canonical.com (HELO youngberry.canonical.com) (91.189.89.112) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Dec 2012 15:41:31 +0000 Received: from dslb-088-073-099-101.pools.arcor-ip.net ([88.73.99.101] helo=[192.168.42.216]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1TliFW-0007n7-Ai for gdb-patches@sourceware.org; Thu, 20 Dec 2012 15:41:30 +0000 Message-ID: <50D331A6.5070102@ubuntu.com> Date: Thu, 20 Dec 2012 15:41:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [patch] use python-config if available Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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/msg00750.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. Matthias