From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21501 invoked by alias); 28 Jul 2010 17:06:41 -0000 Received: (qmail 21365 invoked by uid 22791); 28 Jul 2010 17:06:38 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Jul 2010 17:06:33 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 6EE051B008; Wed, 28 Jul 2010 10:06:32 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 628558E7ED; Wed, 28 Jul 2010 10:06:32 -0700 (PDT) Message-ID: <4C506398.6090901@vmware.com> Date: Wed, 28 Jul 2010 17:06:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Tom Tromey CC: Mike Frysinger , "gdb-patches@sourceware.org" Subject: Re: FYI: update for Python 2.7 References: <4C4DFDDD.1010203@vmware.com> <201007261738.26882.vapier@gentoo.org> <4C4E07F7.4030409@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2010-07/txt/msg00486.txt.bz2 I'm no expert in this stuff, but don't we need a new 2.7 entry in this region of configure.ac? if test "${have_python_config}" = yes; then python_version=`echo " ${python_libs} " \ | sed -e 's,^.* -l\(python[[0-9]]*[[.]][[0-9]]*\) .*$,\ \1,'` case "${python_version}" in python*) AC_TRY_LIBPYTHON(${python_version}, have_libpython, ${python_includes}, ${python_libs}) ;; *) AC_MSG_ERROR([unable to determine python version from ${python_libs}]) ;; esac elif test "${have_python_config}" != failed; then if test "${have_libpython}" = no; then AC_TRY_LIBPYTHON(python2.6, have_libpython, ${python_includes}, "${python_libs} -lpython2.6") fi if test ${have_libpython} = no; then AC_TRY_LIBPYTHON(python2.5, have_libpython, ${python_includes}, "${python_libs} -lpython2.5") fi if test ${have_libpython} = no; then AC_TRY_LIBPYTHON(python2.4, have_libpython, ${python_includes}, "${python_libs} -lpython2.4") fi fi