Ticket #22713: patch-configure.diff
File patch-configure.diff, 897 bytes (added by sharky@…, 15 years ago) |
---|
-
configure
old new 9555 9555 9556 9556 9557 9557 if test "x$with_python" = "xyes"; then 9558 checkPYTHON_CFLAGS=` python-c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null`9558 checkPYTHON_CFLAGS=`${prefix}/bin/python2.5 -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" 2>/dev/null` 9559 9559 if test "$?" -gt "0"; then 9560 9560 with_python="no" 9561 9561 else 9562 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`9562 checkPYTHON_LIBS=-lpython2.5 9563 9563 if test "$?" -gt "0"; then 9564 9564 with_python="no" 9565 9565 else