Ticket #13837: patch-configure.diff
File patch-configure.diff, 902 bytes (added by gui-dos (Guido Soranzio), 17 years ago) |
---|
-
configure
old new 10198 10198 fi; 10199 10199 10200 10200 if 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` 10202 10202 if test "$?" -gt "0"; then 10203 10203 with_python="no" 10204 10204 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 10206 10206 if test "$?" -gt "0"; then 10207 10207 with_python="no" 10208 10208 else