summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xautogen.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 9681eb5ab0..f5dc718088 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,5 @@ m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
+
+m4/gtk-doc.m4
diff --git a/autogen.sh b/autogen.sh
index f4ff2019d4..7cb335c541 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,9 @@
#!/bin/sh
-type -p gtkdocize > /dev/null && gtkdocize --docdir docs
+if type -p gtkdocize > /dev/null; then
+ gtkdocize --docdir docs
+else
+ echo 'AC_DEFUN([GTK_DOC_CHECK], [AM_CONDITIONAL([ENABLE_GTK_DOC], [FALSE])])' > m4/gtk-doc.m4
+fi
autoreconf -f -i