mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Clarify python.h messages
This commit is contained in:
parent
55800cea8c
commit
635e314643
@ -281,7 +281,7 @@ if test "x$with_python" != "xno"; then
|
||||
PYTHON_SETUP_INCLUDES="${python_headersdir}"
|
||||
|
||||
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
|
||||
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
||||
@ -294,7 +294,7 @@ if test "x$with_python" != "xno"; then
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
AC_SUBST(PYTHON_INCLUDES)
|
||||
|
Loading…
Reference in New Issue
Block a user