diff -Nurd ayatana-ido-0.4.4/configure.ac ayatana-ido-0.4.4.new/configure.ac
--- ayatana-ido-0.4.4/configure.ac	2018-08-13 05:34:25.000000000 -0500
+++ ayatana-ido-0.4.4.new/configure.ac	2019-03-23 19:40:02.167258822 -0500
@@ -138,7 +138,11 @@
 
 dnl = GTK Doc Check ===========================================================
 
-GTK_DOC_CHECK([1.8])
+m4_ifdef([GTK_DOC_CHECK], [
+GTK_DOC_CHECK([1.8],[])
+],[
+AM_CONDITIONAL([ENABLE_GTK_DOC], false)
+])
 
 dnl ===========================================================================