summaryrefslogtreecommitdiff
path: root/recipes/linphone/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linphone/files')
-rw-r--r--recipes/linphone/files/disable-gtk-doc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/linphone/files/disable-gtk-doc.patch b/recipes/linphone/files/disable-gtk-doc.patch
new file mode 100644
index 0000000000..c616037244
--- /dev/null
+++ b/recipes/linphone/files/disable-gtk-doc.patch
@@ -0,0 +1,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 "