Ticket #13837: patch-configure.diff

File patch-configure.diff, 902 bytes (added by gui-dos (Guido Soranzio), 17 years ago)

New version of patch-configure.diff

  • configure

    old new  
    1019810198fi;
    1019910199
    1020010200if test "x$with_python" = "xyes"; then
    10201     checkPYTHON_CFLAGS=`python -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`
     10201    checkPYTHON_CFLAGS=`${prefix}/bin/python2.5 -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`
    1020210202    if test "$?" -gt "0"; then
    1020310203        with_python="no"
    1020410204    else
    10205         checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
     10205        checkPYTHON_LIBS=-lpython2.5
    1020610206        if test "$?" -gt "0"; then
    1020710207            with_python="no"
    1020810208        else