[postgis-tickets] r15013 - Reduce expected requirements for building comments and pdf docs

Sandro Santilli strk at kbt.io
Thu Jul 21 05:19:11 PDT 2016


Author: strk
Date: 2016-07-21 05:19:10 -0700 (Thu, 21 Jul 2016)
New Revision: 15013

Modified:
   branches/2.1/configure.ac
Log:
Reduce expected requirements for building comments and pdf docs

See https://drone.osgeo.kbt.io/postgis/postgis/25

Modified: branches/2.1/configure.ac
===================================================================
--- branches/2.1/configure.ac	2016-07-21 12:02:08 UTC (rev 15012)
+++ branches/2.1/configure.ac	2016-07-21 12:19:10 UTC (rev 15013)
@@ -176,25 +176,20 @@
 
 CAN_BUILD_COMMENTS=yes
 
-AC_PATH_PROG([IMAGEMAGICK], [convert], [])
-if test "x$IMAGEMAGICK" = "x"; then
-	AC_MSG_WARN([ImageMagick does not seem to be installed. Documentation cannot be built])
-  CAN_BUILD_COMMENTS=no
-fi
-
 AC_PATH_PROG([XSLTPROC], [xsltproc], [])
 if test "x$XSLTPROC" = "x"; then
 	AC_MSG_WARN([xsltproc is not installed so documentation cannot be built])
   CAN_BUILD_COMMENTS=no
 fi
 
-AC_PATH_PROG([XMLLINT], [xmllint], [])
-if test "x$XMLLINT" = "x"; then
-	AC_MSG_WARN([xmllint is not installed so documentation cannot be checked])
+CAN_BUILD_PDF=${CAN_BUILD_COMMENTS}
+
+AC_PATH_PROG([IMAGEMAGICK], [convert], [])
+if test "x$IMAGEMAGICK" = "x"; then
+	AC_MSG_WARN([ImageMagick does not seem to be installed. Documentation cannot be built])
   CAN_BUILD_COMMENTS=no
 fi
 
-CAN_BUILD_PDF=${CAN_BUILD_COMMENTS}
 
 AC_PATH_PROG([DBLATEX], [dblatex], [])
 if test "x$DBLATEX" = "x"; then
@@ -205,6 +200,12 @@
 AC_SUBST(CAN_BUILD_COMMENTS)
 AC_SUBST(CAN_BUILD_PDF)
 
+AC_PATH_PROG([XMLLINT], [xmllint], [])
+if test "x$XMLLINT" = "x"; then
+	AC_MSG_WARN([xmllint is not installed so documentation cannot be checked])
+fi
+
+
 dnl
 dnl Allow the user to specify the location of the html/docbook.xsl stylesheet
 dnl



More information about the postgis-tickets mailing list