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) --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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: -- cgit v1.2.3