Commit 635e3146 authored by Martin Lucina's avatar Martin Lucina

Clarify python.h messages

parent 55800cea
...@@ -281,7 +281,7 @@ if test "x$with_python" != "xno"; then ...@@ -281,7 +281,7 @@ if test "x$with_python" != "xno"; then
PYTHON_SETUP_INCLUDES="${python_headersdir}" PYTHON_SETUP_INCLUDES="${python_headersdir}"
AC_CHECK_HEADERS($python_headersdir/Python.h, [] , AC_CHECK_HEADERS($python_headersdir/Python.h, [] ,
[AC_MSG_ERROR([the --with-python option requires a usable Python.h.])]) [AC_MSG_ERROR([cannot find a usable Python.h in ${python_headersdir}.])])
else else
py_prefix=`$PYTHON -c "import sys; print sys.prefix"` py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
...@@ -294,7 +294,7 @@ if test "x$with_python" != "xno"; then ...@@ -294,7 +294,7 @@ if test "x$with_python" != "xno"; then
fi fi
AC_CHECK_HEADERS($py_prefix/include/python${PYTHON_VERSION}/Python.h, [] , AC_CHECK_HEADERS($py_prefix/include/python${PYTHON_VERSION}/Python.h, [] ,
[AC_MSG_ERROR([the --with-python option requires a usable Python.h.])]) [AC_MSG_ERROR([cannot find a usable Python.h in $py_prefix/include/python${PYTHON_VERSION}.])])
fi fi
AC_SUBST(PYTHON_INCLUDES) AC_SUBST(PYTHON_INCLUDES)
......
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