aboutsummaryrefslogtreecommitdiffstats
path: root/m4/ax_python_devel.m4
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-01 13:33:52 +0000
committerJustus Winter <[email protected]>2016-06-01 13:33:52 +0000
commit1607aa7fe5dd686ba3bfb6de4a2b602d6a458c86 (patch)
treec1fee7ad6a88a3ff1000502f734922c9b2e06333 /m4/ax_python_devel.m4
parentpython: Improve build system integration, fix warnings. (diff)
downloadgpgme-1607aa7fe5dd686ba3bfb6de4a2b602d6a458c86.tar.gz
gpgme-1607aa7fe5dd686ba3bfb6de4a2b602d6a458c86.zip
python: Make Python detection more robust.
Previously, missing Python development packages made configure fail instead of merely disabling the bindings. * configure.ac: Check for 'PYTHON_VERSION'. * m4/ax_python_devel.m4: Make test non-fatal. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'm4/ax_python_devel.m4')
-rw-r--r--m4/ax_python_devel.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
index 59a2ff09..de992c88 100644
--- a/m4/ax_python_devel.m4
+++ b/m4/ax_python_devel.m4
@@ -304,13 +304,12 @@ EOD`
AC_MSG_RESULT([$pythonexists])
if test ! "x$pythonexists" = "xyes"; then
- AC_MSG_FAILURE([
+ AC_MSG_WARN([
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
- ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================