]> granicus.if.org Git - postgis/commitdiff
Configured without raster still tries to make raster/rt_pg/rtpostgis.sql (#1575)...
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 13 Feb 2012 22:02:55 +0000 (22:02 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 13 Feb 2012 22:02:55 +0000 (22:02 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9182 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index b029642210b54c31369e5ae2fd27f8a8dbf14448..9d5c9a5502212de1e3173c36ff5aa76e7bd31abe 100644 (file)
@@ -724,22 +724,6 @@ AC_SUBST([IGE_MAC_CFLAGS])
 AC_SUBST([IGE_MAC_LIBS])
 
 
-dnl ===========================================================================
-dnl See if we have the requirements for building the extensions, namely
-dnl PostgreSQL 9.1 or better and the xlstproc tool for generating the commends
-dnl SQL file.
-dnl ===========================================================================
-
-EXTENSIONS=""
-if test $POSTGIS_PGSQL_VERSION -ge 91; then
-       if test ! "x$XSLTPROC" = "x"; then
-               AC_MSG_RESULT([enabling extensions for PostgreSQL 9.1...])
-               EXTENSIONS=extensions
-               AC_SUBST([EXTENSIONS])
-       fi
-fi
-
-
 dnl ===========================================================================
 dnl Allow the user to enable debugging with --enable-debug
 dnl
@@ -1012,8 +996,30 @@ else dnl # }{
     RT_MAKEFILE_LIST="raster/Makefile"
 fi dnl # }
 
+dnl ===========================================================================
+dnl See if we have the requirements for building the extensions, namely
+dnl PostgreSQL 9.1 or better and the xlstproc tool for generating the commends
+dnl SQL file.
+dnl ===========================================================================
+
+EXTENSIONS=""
+if test $POSTGIS_PGSQL_VERSION -ge 91; then
+       if test ! "x$XSLTPROC" = "x"; 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
+
 
+dnl ===========================================================================
 dnl Output the relevant files
+dnl ===========================================================================
+
 AC_OUTPUT([GNUmakefile 
    extensions/Makefile
    extensions/postgis/Makefile