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

configure: be less error-prone in geos sed hack

Some package managers repeat the name of the package they install in the
actual installation path.  Make sure we don't match on that path, but
only on the lib.  Thanks Babis in bug #2791.


diffs (12 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2654,7 +2654,7 @@
        fi
        if test "x$have_geos" != xno; then
                GEOS_INCS="`$GEOS_CONFIG --cflags`"
-               GEOS_LIBS="`$GEOS_CONFIG --libs | sed 's:geos:geos_c:'`"
+               GEOS_LIBS="`$GEOS_CONFIG --libs | sed 's:-lgeos:-lgeos_c:'`"
        fi
        if test "x$have_geos" = xno; then
                if test "x$enable_geom" = xyes; then
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to