diff options
Diffstat (limited to 'meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch')
-rw-r--r-- | meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch new file mode 100644 index 0000000000..99ae4d4417 --- /dev/null +++ b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 8b7fbbb405959f2868ad6eadd7dd00018758a8a5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 7 Sep 2016 14:52:04 +0300 | ||
4 | Subject: [PATCH] Do not error out if xsltproc is not found. | ||
5 | |||
6 | This allows us to drop the hard xsltproc dependency, if we're not | ||
7 | going to actually run the gtkdoc scripts (when api documentation is | ||
8 | disabled). | ||
9 | |||
10 | Upstream-Status: Inappropriate [oe-core specific] | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | configure.ac | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index b0c88d7..2a61d6e 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -58,7 +58,7 @@ dnl Check for xsltproc | ||
21 | dnl | ||
22 | AC_PATH_PROG([XSLTPROC], [xsltproc]) | ||
23 | if test -z "$XSLTPROC"; then | ||
24 | - AC_MSG_ERROR([xsltproc not found]) | ||
25 | + AC_MSG_WARN([xsltproc not found]) | ||
26 | fi | ||
27 | |||
28 | dnl | ||
29 | -- | ||
30 | 2.9.3 | ||
31 | |||