From 526aa3aa46a51281015e3213c184842c0ad8e8bd Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 17 Jul 2004 09:52:05 +0000 Subject: [PATCH] Added GEOS_FIRST_INTERFACE, GEOS_LAST_INTERFACE, GEOS_JTS_PORT detection git-svn-id: http://svn.osgeo.org/postgis/trunk@643 b70326c6-7e19-0410-871a-916f4a2858ee --- geos_version.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/geos_version.sh b/geos_version.sh index 6fa95383d..c75c675fe 100755 --- a/geos_version.sh +++ b/geos_version.sh @@ -14,14 +14,29 @@ fi if [ "$version" = "@GEOS_VERSION@" ]; then geos_version=100 version="1.0.0" + jtsport="1.3" + first=1 + last=1 else major=`echo $version | sed 's/\..*//'` minor=`echo $version | sed 's/[^\.]*\.\([^.]*\)\.*/\1/'` + first=$major + last=$(($major+$minor)) geos_version=`printf %d%2.2d $major $minor` + jtsport=`${geos_dir}/bin/geos-config --jtsport` fi cat <