aboutsummaryrefslogtreecommitdiffstats
path: root/configure
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 /configure
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)
Diffstat (limited to '')
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
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: