summaryrefslogtreecommitdiff
path: root/recipes/linphone/files/disable-gtk-doc.patch
blob: c616037244778720456f1a3b16ea32fae88d1e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- linphone-0.12.2/configure.in	2004-03-31 21:22:55.000000000 +0100
+++ linphone-0.12.2.hh1/configure.in	2004-08-31 19:44:48.000000000 +0100
@@ -313,7 +358,10 @@
 fi
 
 AC_SUBST(HTML_DIR)
-PKG_CHECK_MODULES(GTK_DOC,gtk-doc >= 0.4, enable_gtk_doc=yes,enable_gtk_doc=no )
+AC_ARG_ENABLE(gtk-doc, [  --enable-gtk-doc  enable documentation build])
+if test "x$enable_gtk_doc" != "xno" ; then
+  PKG_CHECK_MODULES(GTK_DOC,gtk-doc >= 0.4, enable_gtk_doc=yes,enable_gtk_doc=no )
+fi
 AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes )
 
 LINPHONE_CFLAGS="$GLIB_CFLAGS -I${includedir} -I${includedir}/linphone -I${includedir}/osipua -I${includedir}/ortp "