summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@intel.com>2012-10-19 18:29:54 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-10-19 16:51:38 -0400
commit56061674cd80e701174c1f1b1bf575aa308ecbd8 (patch)
treed9acb220177f7f16ceb0287a0154c0f214630c8c
parent68c4136a070178d7b4712a42140af960bb3ba1a7 (diff)
configure: Depend on a more strict version of publican
Fix https://bugs.freedesktop.org/show_bug.cgi?id=56101 Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1c102c6..1a10cf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,14 @@ if test "x$enable_documentation" = "xyes"; then
AC_PATH_PROG(PUBLICAN, publican)
+ if test "x$PUBLICAN" != "x"; then
+ PUBLICAN_VERSION=`$PUBLICAN -v | cut -d'=' -f2`
+
+ if test [ 1 -eq `echo "${PUBLICAN_VERSION} < 2.8" | bc` ]; then
+ AC_MSG_ERROR([Publican version is not supported. Install publican >= 2.8 or disable the documentation using --disable-documentation])
+ fi
+ fi
+
AC_CONFIG_FILES([
doc/doxygen/wayland.doxygen
])