summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--m4/ac_python_devel.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ac_python_devel.m4 b/m4/ac_python_devel.m4
index f7eb79a..545c607 100644
--- a/m4/ac_python_devel.m4
+++ b/m4/ac_python_devel.m4
@@ -150,10 +150,10 @@ $ac_distutils_result])
150 # 150 #
151 # Check for Python include path 151 # Check for Python include path
152 # 152 #
153 AC_MSG_CHECKING([for Python include path])
153 if type $PYTHON-config; then 154 if type $PYTHON-config; then
154 PYTHON_CPPFLAGS=`$PYTHON-config --includes` 155 PYTHON_CPPFLAGS=`$PYTHON-config --includes`
155 fi 156 fi
156 AC_MSG_CHECKING([for Python include path])
157 if test -z "$PYTHON_CPPFLAGS"; then 157 if test -z "$PYTHON_CPPFLAGS"; then
158 python_path=`$PYTHON -c "import distutils.sysconfig; \ 158 python_path=`$PYTHON -c "import distutils.sysconfig; \
159 print(distutils.sysconfig.get_python_inc());"` 159 print(distutils.sysconfig.get_python_inc());"`