diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index f4ff2019d4..26f4160c52 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,10 @@ #!/bin/sh -type -p gtkdocize > /dev/null && gtkdocize --docdir docs +if type -p gtkdocize > /dev/null; then + gtkdocize --docdir docs +else + echo 'EXTRA_DIST =' > docs/gtk-doc.make + echo 'AC_DEFUN([GTK_DOC_CHECK], [AM_CONDITIONAL([ENABLE_GTK_DOC], [FALSE])])' > m4/gtk-doc.m4 +fi autoreconf -f -i |