]> granicus.if.org Git - postgis/commitdiff
put back brin check. Brin doesn't work for < 9.5
authorRegina Obe <lr@pcorp.us>
Mon, 16 Apr 2018 10:35:25 +0000 (10:35 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 16 Apr 2018 10:35:25 +0000 (10:35 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16541 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index baeb6b15568c4dff04a06736749913eb0318491e..3e33dccc92b7dd369a37cc31295fc8ebb7e783f2 100644 (file)
@@ -462,7 +462,10 @@ if test "x$LIBLWGEOM_ONLY" = "xno"; then
     AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.4])
   fi
 
-  HAVE_BRIN=yes
+  HAVE_BRIN=no
+  if test $POSTGIS_PGSQL_VERSION -gt 94; then
+    HAVE_BRIN=yes
+  fi
 
   dnl Note: We don't need the server-side LDFLAGS or CPPFLAGS because we get these from PGXS