]> granicus.if.org Git - postgis/commitdiff
Reduce extensions requirements (#1724)
authorSandro Santilli <strk@keybit.net>
Wed, 28 Mar 2012 12:40:15 +0000 (12:40 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 28 Mar 2012 12:40:15 +0000 (12:40 +0000)
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

configure.ac

index a0ec974d5afe20993c6ce2975e2f1477e6d22171..d797b98ef55e76962a94b6ff6c3c434bb952c429 100644 (file)
@@ -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