summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-02-15 23:09:57 +0100
committerMartin Lucina <mato@kotelna.sk>2010-02-15 23:09:57 +0100
commit635e314643885ce8508ee64632bed7d6228fe8b6 (patch)
tree2381242320d02b2f3aade8a74a4bf7ef704bc339
parent55800cea8c63ea84bd99e4c660ef1fd17a353e32 (diff)
Clarify python.h messages
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 0a792df..9771c13 100644
--- a/configure.in
+++ b/configure.in
@@ -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)