Commit 3c4bf492 authored by Martin Szulecki's avatar Martin Szulecki

m4: Acutally report include path check before doing the check

parent dfac6253
...@@ -150,10 +150,10 @@ $ac_distutils_result]) ...@@ -150,10 +150,10 @@ $ac_distutils_result])
# #
# Check for Python include path # Check for Python include path
# #
AC_MSG_CHECKING([for Python include path])
if type $PYTHON-config; then if type $PYTHON-config; then
PYTHON_CPPFLAGS=`$PYTHON-config --includes` PYTHON_CPPFLAGS=`$PYTHON-config --includes`
fi fi
AC_MSG_CHECKING([for Python include path])
if test -z "$PYTHON_CPPFLAGS"; then if test -z "$PYTHON_CPPFLAGS"; then
python_path=`$PYTHON -c "import distutils.sysconfig; \ python_path=`$PYTHON -c "import distutils.sysconfig; \
print(distutils.sysconfig.get_python_inc());"` print(distutils.sysconfig.get_python_inc());"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment