summaryrefslogtreecommitdiff
path: root/configure.static.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.static.in')
-rw-r--r--configure.static.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.static.in b/configure.static.in
index 3583fed3..ffcdf61e 100644
--- a/configure.static.in
+++ b/configure.static.in
@@ -151,7 +151,7 @@ if test "$python" = "yes" ; then
if python -c "import distutils.sysconfig ; print '-I%s' % distutils.sysconfig.get_config_var('INCLUDEPY')" >/dev/null 2>&1 ; then
if 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'))" >/dev/null 2>&1 ; then
PyVersion=`python -c "import distutils.sysconfig ; print '%s' % distutils.sysconfig.get_config_var('VERSION')"`
- PySubVersion=`echo $PyVersion |sed -e 's/2.//'`
+ PySubVersion=`echo $PyVersion |sed -e 's/2\.//' -e 's/3\.//'`
PyInc=`python -c "import distutils.sysconfig ; print '%s' % distutils.sysconfig.get_config_var('INCLUDEPY')"`
PyLib=`python -c "import distutils.sysconfig ; print '%s/%s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'))"`
if test "$PySubVersion" \!= "" -a "$PySubVersion" -le 2 ; then