summaryrefslogtreecommitdiff
blob: a09d10d61de0e3910df452a252c518551e1d4096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- configure.ac.orig	2007-11-06 21:43:51.000000000 -0800
+++ configure.ac	2007-11-06 21:45:07.000000000 -0800
@@ -116,8 +116,14 @@
 AC_ARG_ENABLE(gtk-doc, AC_HELP_STRING([--enable-gtk-doc],
   [use gtk-doc to build documentation [default=yes]]),,
   enable_gtk_doc=yes)
+dnl Crazy hack for dropping the dep on gtk-doc
+AC_DEFUN(GTK_DOC_CHECK, [])
 GTK_DOC_CHECK([1.3])
 
+dnl Crazy hack for dropping the dep on gtk-doc
+AM_CONDITIONAL(ENABLE_GTK_DOC, 0, [])
+AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, 0, [])
+
 # ***************************
 # Check for required packages
 # ***************************
--- Makefile.am.orig	2007-11-06 21:45:19.000000000 -0800
+++ Makefile.am	2007-11-06 21:46:50.000000000 -0800
@@ -5,7 +5,11 @@
 endif
 
 # Need to build docs after examples because the docs include generated files 
-SUBDIRS += doc po
+if ENABLE_GTK_DOC
+SUBDIRS += doc
+endif
+
+SUBDIRS += po
 
 # Creating ChangeLog from git log (taken from cairo/Makefile.am):
 ChangeLog: $(srcdir)/ChangeLog