mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-13 04:28:02 -05:00
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>
This commit is contained in:
parent
68c4136a07
commit
56061674cd
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue