Create own autogen.sh

gnome-autogen.sh can not really make GTK-Doc optional. With this script,
GTK-Doc is only used if it is actually present on the system.
This commit is contained in:
2013-10-05 02:05:17 +02:00
parent 74cc121221
commit dd803b09f2
2 changed files with 38 additions and 11 deletions

View File

@@ -40,9 +40,9 @@ AM_GNU_GETTEXT_VERSION([0.17])
LT_INIT
AC_CHECK_LIB([m], [atan])
m4_ifdef([GTK_DOC_CHECK], [
GTK_DOC_CHECK([1.19], [--flavour no-tmpl])
GTK_DOC_CHECK([1.19], [--flavour no-tmpl])
],[
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
])
GOBJECT_INTROSPECTION_CHECK([1.0])
PKG_PROG_PKG_CONFIG