Make GTK-Doc optional

If it is not installed on the system, that should not be a problem anymore
This commit is contained in:
Gergely Polonkai 2013-10-04 23:46:00 +02:00
parent 35a8101c91
commit 95f085ea0a

View File

@ -39,7 +39,11 @@ AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
LT_INIT
AC_CHECK_LIB([m], [atan])
GTK_DOC_CHECK([1.19], [--flavour no-tmpl])
m4_ifdef([GTK_DOC_CHECK], [
GTK_DOC_CHECK([1.19], [--flavour no-tmpl])
],[
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
])
GOBJECT_INTROSPECTION_CHECK([1.0])
PKG_PROG_PKG_CONFIG
AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])