summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 11:27:59 -0800
committerGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 11:27:59 -0800
commitafd2f2e3637ab0a44784d7509cf2259793701d32 (patch)
tree285e1252a0bd055c96f8a364e3cc857e59e50dde
parent0057b3da4517108009c2a296b04ea627931b20c1 (diff)
Typo in configure script (in sed command) caused it to miscalcute Python subversion number.
-rwxr-xr-xconfigure2
-rwxr-xr-xconfigure.dynamic2
-rw-r--r--configure.dynamic.in2
-rw-r--r--configure.in2
-rwxr-xr-xconfigure.static2
-rw-r--r--configure.static.in2
6 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index a24a7251..0468f6d2 100755
--- a/configure
+++ b/configure
@@ -19983,7 +19983,7 @@ fi
if $python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))" ; then
PyVersion=`$python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))"`
PyMajorVersion=`echo $PyVersion |sed -e 's/\..*//'`
- PySubVersion=`echo $PyVersion |sed -e 's/\(2\|3\)\.//'`
+ PySubVersion=`echo $PyVersion |sed -e 's/2\.//' -e 's/3\.//'`
PyName="python$PyVersion"
if test "$PySubVersion" = "" ; then
python="no"
diff --git a/configure.dynamic b/configure.dynamic
index a24a7251..0468f6d2 100755
--- a/configure.dynamic
+++ b/configure.dynamic
@@ -19983,7 +19983,7 @@ fi
if $python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))" ; then
PyVersion=`$python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))"`
PyMajorVersion=`echo $PyVersion |sed -e 's/\..*//'`
- PySubVersion=`echo $PyVersion |sed -e 's/\(2\|3\)\.//'`
+ PySubVersion=`echo $PyVersion |sed -e 's/2\.//' -e 's/3\.//'`
PyName="python$PyVersion"
if test "$PySubVersion" = "" ; then
python="no"
diff --git a/configure.dynamic.in b/configure.dynamic.in
index 561b7520..330169cb 100644
--- a/configure.dynamic.in
+++ b/configure.dynamic.in
@@ -263,7 +263,7 @@ if test "$python" = "yes" ; then
if $python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))" ; then
PyVersion=`$python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))"`
PyMajorVersion=`echo $PyVersion |sed -e 's/\..*//'`
- PySubVersion=`echo $PyVersion |sed -e 's/\(2\|3\)\.//'`
+ PySubVersion=`echo $PyVersion |sed -e 's/2\.//' -e 's/3\.//'`
PyName="python$PyVersion"
if test "$PySubVersion" = "" ; then
python="no"
diff --git a/configure.in b/configure.in
index 561b7520..330169cb 100644
--- a/configure.in
+++ b/configure.in
@@ -263,7 +263,7 @@ if test "$python" = "yes" ; then
if $python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))" ; then
PyVersion=`$python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))"`
PyMajorVersion=`echo $PyVersion |sed -e 's/\..*//'`
- PySubVersion=`echo $PyVersion |sed -e 's/\(2\|3\)\.//'`
+ PySubVersion=`echo $PyVersion |sed -e 's/2\.//' -e 's/3\.//'`
PyName="python$PyVersion"
if test "$PySubVersion" = "" ; then
python="no"
diff --git a/configure.static b/configure.static
index 04033438..b465c69f 100755
--- a/configure.static
+++ b/configure.static
@@ -5064,7 +5064,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
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