[geos-commits] r3961 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Nov 19 00:58:04 PST 2013


Author: strk
Date: 2013-11-19 00:58:04 -0800 (Tue, 19 Nov 2013)
New Revision: 3961

Modified:
   trunk/configure.in
Log:
Do not try to build python and ruby bindings without swig (#673)

Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2013-11-19 08:26:42 UTC (rev 3960)
+++ trunk/configure.in	2013-11-19 08:58:04 UTC (rev 3961)
@@ -276,13 +276,15 @@
 use_swig=false
 if test x"$use_python" = xtrue ||
    test x"$use_ruby" = xtrue; then
-	AC_PROG_SWIG(1.3.28)
-	if test x"$SWIG" != "x"; then
-	    SWIG_ENABLE_CXX	
-            AC_SUBST(SWIG)           
- 
-            use_swig=true 
-	fi
+  AC_PROG_SWIG(1.3.28)
+  if test x"$SWIG" != "x"; then
+    SWIG_ENABLE_CXX	
+    AC_SUBST(SWIG)           
+    use_swig=true 
+  else
+    use_python=false
+    use_ruby=false
+  fi
 fi
 AM_CONDITIONAL(ENABLE_SWIG, [ test x"$use_swig" = xtrue ])
 
@@ -293,8 +295,8 @@
 
 if test x"$use_python" = xtrue; then
 	dnl Check for Python 
-        AM_PATH_PYTHON	
-        SWIG_PYTHON
+  AM_PATH_PYTHON	
+  SWIG_PYTHON
 
 	if test x"$PYTHON" = "x"; then
 		use_python=false



More information about the geos-commits mailing list