From ee4bef0ca47fa6c7b5f1874d254572667c12f164 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Thu, 10 Jan 2013 20:01:33 -0800 Subject: 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) --- NEWS | 4 ++++ configure | 2 +- configure.in | 2 +- 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: -- cgit v1.2.3