aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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: