mirror of
https://github.com/elementary/gala.git
synced 2024-11-24 04:21:04 +03:00
docs: Consider it sufficient if valadoc is available
This commit is contained in:
parent
12788ef9ce
commit
7228604095
@ -234,8 +234,6 @@ CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
|
||||
# -----------------------------------------------------------
|
||||
# Documentation
|
||||
# -----------------------------------------------------------
|
||||
VALADOC_MIN_VERSION=0.3.1
|
||||
|
||||
AC_ARG_ENABLE([docs],
|
||||
AS_HELP_STRING([--enable-docs],[Enable documentation generation]),
|
||||
[enable_docs=$enableval], [enable_docs=no])
|
||||
@ -243,8 +241,6 @@ AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
|
||||
|
||||
have_valadoc=no
|
||||
if test "x$enable_docs" = "xyes"; then
|
||||
# make sure the library is new enough and the program exists
|
||||
PKG_CHECK_MODULES([VALADOC], [valadoc-1.0 >= $VALADOC_MIN_VERSION])
|
||||
AC_PATH_PROG([VALADOC], [valadoc], [:])
|
||||
AS_IF([test "$VALADOC" != :], have_valadoc=yes)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user