Changeset: d8ebb66e4a4a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d8ebb66e4a4a
Modified Files:
        configure.ag
Branch: Mar2011
Log Message:

configure: don't immediately die if libgeos_c can't be found

Since geom support can be automagic, it is not a good idea to die when
we can't link to libgeos_c.  The latter may not be found, or for a
different architecture.  The code after this check properly disables
geom when libgeos_c isn't found/cannot be linked against.


diffs (12 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2609,7 +2609,7 @@
        if test "x$have_geos" != xno; then
                save_LIBS="$LIBS"
                LIBS="$LIBS $GEOS_LIBS"
-               AC_CHECK_LIB(geos_c, GEOSEnvelope, :, [AC_MSG_ERROR([-lgeos_c 
not found]); have_geos=no])
+               AC_CHECK_LIB(geos_c, GEOSEnvelope, :, have_geos=no])
                LIBS="$save_LIBS"
        fi
        if test "x$have_geos" != xno; then
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to