]> granicus.if.org Git - postgis/commitdiff
don't try to call postgis_gdal_version() if not testing raster (the signature is...
authorSandro Santilli <strk@keybit.net>
Tue, 4 Oct 2011 23:13:28 +0000 (23:13 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 4 Oct 2011 23:13:28 +0000 (23:13 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7946 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index f7a081158fa5f6e915848f9df1f46c29154933e2..b1fe0f4bcd5272b2b6a450b5d98f9086a5a588a4 100755 (executable)
@@ -525,7 +525,9 @@ fi
 
 geosver=`${PSQL} -tAc "select postgis_geos_version()" "${DB}"`
 projver=`${PSQL} -tAc "select postgis_proj_version()" "${DB}"`
-gdalver=`${PSQL} -tAc "select postgis_gdal_version()" "${DB}"`
+if test x"$OPT_WITH_RASTER" = "xyes"; then
+  gdalver=`${PSQL} -tAc "select postgis_gdal_version()" "${DB}"`
+fi
 libbuilddate=`${PSQL} -tAc "select postgis_lib_build_date()" "${DB}"`
 pgsqlver=`${PSQL} -tAc "select version()" "${DB}"`