Hi everyone,

It appears as if the recently added AM_PATH_PYTHON macro defaults to
aborting configure if Python is not found. The attached patch allows
configure to continue with use_python set to false if a python binary is
not found, as per
http://sources.redhat.com/automake/automake.html#Python.


Kind regards,

Mark.

--- geos-3.0.0rc4/configure.in.orig	2007-02-08 17:59:44.000000000 +0000
+++ geos-3.0.0rc4/configure.in	2007-02-08 18:00:38.000000000 +0000
@@ -151,7 +151,7 @@
 dnl - check for python 
 dnl --------------------------------------------------------------------
 
-AM_PATH_PYTHON
+AM_PATH_PYTHON(,,:)
 
 AC_ARG_ENABLE(python, [  --enable-python    Enable build of python module],
 	[case "${enableval}" in
_______________________________________________
geos-devel mailing list
[email protected]
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to