From: Sandro Santilli Date: Wed, 28 Mar 2012 12:40:15 +0000 (+0000) Subject: Reduce extensions requirements (#1724) X-Git-Tag: 2.0.0rc1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b327d81bbee981d4d34ecb47097369c8936630fd;p=postgis Reduce extensions requirements (#1724) Build extensions even w/out topology, and even w/out xsltproc if comments are already built. git-svn-id: http://svn.osgeo.org/postgis/trunk@9569 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/configure.ac b/configure.ac index a0ec974d5..d797b98ef 100644 --- a/configure.ac +++ b/configure.ac @@ -1052,13 +1052,15 @@ dnl =========================================================================== EXTENSIONS="" if test $POSTGIS_PGSQL_VERSION -ge 91; then - if test ! "x$XSLTPROC" = "x"; then + if test \ + "x$XSLTPROC" != "x" -o \ + -e doc/postgis_comments.sql -a \ + -e doc/raster_comments.sql; + then if test "x$RASTER" = "xraster"; then - if test "x$TOPOLOGY" = "xtopology"; then AC_MSG_RESULT([enabling extensions for PostgreSQL 9.1...]) EXTENSIONS=extensions AC_SUBST([EXTENSIONS]) - fi fi fi fi