diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-09-08 14:49:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:12 +0100 |
commit | f08aeff228bf04ba9b9facf90a805ad80363cf7b (patch) | |
tree | b5c88444ae13d319d91f93a0c0191d362984b182 /meta/recipes-gnome/gtk-doc/files | |
parent | 04e3dc6d3bab63ca2ee5b1f81aeda2482bfb42cf (diff) | |
download | poky-f08aeff228bf04ba9b9facf90a805ad80363cf7b.tar.gz |
gtk-doc: require perl-native only if api-documentation feature is enabled
This should reduce build times.
(From OE-Core rev: 74d9c5eb858bfe1dd16826b74be3af71bb1956d9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk-doc/files')
-rw-r--r-- | meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-perl-is-not-found-or-its-version.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-perl-is-not-found-or-its-version.patch b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-perl-is-not-found-or-its-version.patch new file mode 100644 index 0000000000..4a9028742c --- /dev/null +++ b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-perl-is-not-found-or-its-version.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From e733241fb580f032efbbe684ec35d4c9d27f1595 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 8 Sep 2016 13:38:39 +0300 | ||
4 | Subject: [PATCH] Do not error out if perl is not found or its version is too | ||
5 | old. | ||
6 | |||
7 | This allows use to avoid depending on perl-native if we're not going | ||
8 | to use it (when api-docs are disabled). | ||
9 | |||
10 | Upstream-Status: Inappropriate [oe-core specific] | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | configure.ac | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 2a61d6e..29415bd 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -36,7 +36,7 @@ dnl Check for Perl. | ||
21 | dnl | ||
22 | AC_PATH_PROG([PERL], [perl]) | ||
23 | if test -z "$PERL"; then | ||
24 | - AC_MSG_ERROR([perl not found]) | ||
25 | + AC_MSG_WARN([perl not found]) | ||
26 | fi | ||
27 | |||
28 | AC_MSG_CHECKING([if Perl version >= 5.18.0]) | ||
29 | @@ -44,7 +44,7 @@ if "$PERL" -e "require v5.18.0"; then | ||
30 | AC_MSG_RESULT([yes]) | ||
31 | else | ||
32 | AC_MSG_RESULT([no]) | ||
33 | - AC_MSG_ERROR([perl >= 5.18.0 is required for gtk-doc]) | ||
34 | + AC_MSG_WARN([perl >= 5.18.0 is required for gtk-doc]) | ||
35 | fi | ||
36 | |||
37 | dnl | ||
38 | -- | ||
39 | 2.9.3 | ||
40 | |||