From: Sandro Santilli Date: Mon, 20 Sep 2004 08:51:43 +0000 (+0000) Subject: Added detect_geos_version rule X-Git-Tag: pgis_1_0_0RC1~435 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f797a31982a62eb3674990948cf8eec88a175b3e;p=postgis Added detect_geos_version rule git-svn-id: http://svn.osgeo.org/postgis/trunk@836 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/Makefile b/lwgeom/Makefile index c344bfb19..f30e5aa26 100644 --- a/lwgeom/Makefile +++ b/lwgeom/Makefile @@ -110,7 +110,7 @@ override CFLAGS += -DPOSTGIS_SCRIPTS_VERSION='"$(SCRIPTS_VERSION)"' ifeq ($(USE_GEOS),1) override CFLAGS += -I$(GEOS_DIR)/include -DUSE_GEOS - #GEOS_RULES=detect_geos_version + GEOS_RULES=detect_geos_version GEOS_WRAPPER=lwgeom_geos_wrapper.o endif @@ -199,6 +199,9 @@ endif endif # not win #---------------------------------------------------------- +detect_geos_version: + ../geos_version.sh $(GEOS_DIR) > postgis_geos_version.h + installdirs: $(mkinstalldirs) $(docdir)/contrib $(datadir)/contrib $(libdir)