]> granicus.if.org Git - postgis/commitdiff
Reduce expected requirements for building comments and pdf docs
authorSandro Santilli <strk@keybit.net>
Tue, 30 Sep 2014 13:44:25 +0000 (13:44 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 30 Sep 2014 13:44:25 +0000 (13:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13012 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 671f51e423ee986f46eb69a9c26b6f61f9326303..520492ffad0b5633ae75b6ffc5cda2f613dc94bd 100644 (file)
@@ -166,26 +166,20 @@ dnl
 
 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_COMMENTS=no
-fi
-
 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_PDF=no
+fi
+
 AC_PATH_PROG([DBLATEX], [dblatex], [])
 if test "x$DBLATEX" = "x"; then
        AC_MSG_WARN([dblatex is not installed so PDF documentation cannot be built])
@@ -195,6 +189,12 @@ fi
 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