aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2013-01-10 20:01:33 -0800
committerMark Sapiro <msapiro@value.net>2013-01-10 20:01:33 -0800
commitee4bef0ca47fa6c7b5f1874d254572667c12f164 (patch)
tree0fee8d9f254889c28fe04801cbd4046816708d0c
parentfed2c1a29ddfb59b215f5091f02f782d7f944240 (diff)
downloadmailman2-ee4bef0ca47fa6c7b5f1874d254572667c12f164.tar.gz
mailman2-ee4bef0ca47fa6c7b5f1874d254572667c12f164.tar.xz
mailman2-ee4bef0ca47fa6c7b5f1874d254572667c12f164.zip
Changed configure's method for getting Python's include directory from
distutils.sysconfig.get_config_var('CONFINCLUDEPY') to distutils.sysconfig.get_python_inc(). (LP: 1098162)
-rw-r--r--NEWS4
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 45430743..0375485d 100644
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,10 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Changed configure's method for getting Python's include directory from
+ distutils.sysconfig.get_config_var('CONFINCLUDEPY') to
+ distutils.sysconfig.get_python_inc(). (LP: 1098162)
+
- Added an Auto-Generated: header to password reminders. (LP: 558240)
- Fixed a bug where non-ascii characters in the real name in a subscription
diff --git a/configure b/configure
index 792d7346..cf424966 100755
--- a/configure
+++ b/configure
@@ -2053,7 +2053,7 @@ else:
# some RedHat packages put distutils in python, but the C headers
# are in python-devel so check for headers too.
import os.path
- pdothpath = distutils.sysconfig.get_config_var('CONFINCLUDEPY')
+ pdothpath = distutils.sysconfig.get_python_inc()
if os.path.isfile(os.path.join(pdothpath, "Python.h")):
res = "yes"
else:
diff --git a/configure.in b/configure.in
index b2cae853..1ee55b96 100644
--- a/configure.in
+++ b/configure.in
@@ -194,7 +194,7 @@ else:
# some RedHat packages put distutils in python, but the C headers
# are in python-devel so check for headers too.
import os.path
- pdothpath = distutils.sysconfig.get_config_var('CONFINCLUDEPY')
+ pdothpath = distutils.sysconfig.get_python_inc()
if os.path.isfile(os.path.join(pdothpath, "Python.h")):
res = "yes"
else: