Fix:core:Further improve configure checks for python
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 13 Mar 2009 13:51:50 +0000 (13:51 +0000)
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 13 Mar 2009 13:51:50 +0000 (13:51 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2115 ffa7fe5e-494d-0410-b361-a75ebd5db220

configure.in

index ed6e610..a12cf02 100644 (file)
@@ -392,8 +392,8 @@ if test "x${binding_python}" = "xyes"; then
        dnl FIXME: I wish there was a less icky way to get this.
        if test "x${_PATH_PYTHON}" != "x" ; then
                AC_MSG_CHECKING(for Python linkage)
-               PYTHON_CFLAGS="`python-config --cflags`"
-               PYTHON_LIBS="`python-config --ldflags`"
+               PYTHON_CFLAGS="`$PYTHON-config --cflags`"
+               PYTHON_LIBS="`$PYTHON-config --ldflags`"
        else
                binding_python="no"
                binding_python_reason="python executable missing"