[PATCH wayland] configure: Depend on a more strict version of publican

Kristian Høgsberg hoegsberg at gmail.com
Fri Oct 19 13:51:50 PDT 2012


On Fri, Oct 19, 2012 at 06:29:54PM +0300, Tiago Vignatti wrote:
> Fix https://bugs.freedesktop.org/show_bug.cgi?id=56101

Thanks, applied.

Kristian

> Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
> ---
>  configure.ac |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> 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
>  	])
> -- 
> 1.7.9.5
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list