1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-31 09:50:11 +03:00

build-sys: properly report missing gtk-doc

This brings the check for ENABLE_GTK_DOC in line with
HAVE_INTROSPECTION and other similar checks. Only
the status line that is printed with uninstalled
gtk-doc is changed.

https://bugs.freedesktop.org/show_bug.cgi?id=63108
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-05-14 22:10:44 -04:00
parent 39887731d4
commit 6581f00f7e

View File

@ -72,9 +72,10 @@ AC_PATH_PROG([SETCAP], [setcap], [/usr/sbin/setcap])
AC_PATH_PROG([KILL], [kill], [/usr/bin/kill]) AC_PATH_PROG([KILL], [kill], [/usr/bin/kill])
# gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
m4_ifdef([GTK_DOC_CHECK], [ m4_ifdef([GTK_DOC_CHECK],
GTK_DOC_CHECK([1.18],[--flavour no-tmpl]) [GTK_DOC_CHECK([1.18],[--flavour no-tmpl])],
], [AM_CONDITIONAL([ENABLE_GTK_DOC], [false])]) [AM_CONDITIONAL([ENABLE_GTK_DOC], [false])
enable_gtk_doc=no])
AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [ AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [
AC_MSG_ERROR([*** GTK doc requested but xsltproc not found]) AC_MSG_ERROR([*** GTK doc requested but xsltproc not found])