]> code.ossystems Code Review - openembedded-core.git/blob
9f2df0cc8fc5cb8146b953f168b09003b9435cc4
[openembedded-core.git] /
1 From 0124b1c29b9cfe46d73ae82ce023dd7c5b055744 Mon Sep 17 00:00:00 2001
2 From: Hongxu Jia <hongxu.jia@windriver.com>
3 Date: Thu, 29 Mar 2018 16:36:12 +0800
4 Subject: [PATCH 09/10] ghostscript-native:fix disable-system-libtiff
5
6 Modify configure to add the check to make sure
7 ghostscrip could work while system-libtiff is
8 disabled.
9
10 Upstream-Status: Pending
11
12 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13
14 Rebase to ghostscript 9.23.
15
16 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17 ---
18  configure.ac | 5 +++++
19  1 file changed, 5 insertions(+)
20
21 diff --git a/configure.ac b/configure.ac
22 index 80a60b1..f3e9efb 100644
23 --- a/configure.ac
24 +++ b/configure.ac
25 @@ -1284,6 +1284,7 @@ case "x$with_system_libtiff" in
26  esac
27  
28  if test x"$SHARE_LIBTIFF" = x"0" ; then
29 +    if test -e $LIBTIFFDIR/configure; then
30        echo "Running libtiff configure script..."
31        olddir=`pwd`
32        if ! test -d "$LIBTIFFCONFDIR" ; then
33 @@ -1302,6 +1303,10 @@ if test x"$SHARE_LIBTIFF" = x"0" ; then
34  
35        echo
36        echo "Continuing with Ghostscript configuration..."
37 +    else
38 +      AC_MSG_NOTICE([Could not find local copy of libtiff.
39 +Disabling tiff output devices.])
40 +    fi
41  fi
42  
43  AC_SUBST(SHARE_LIBTIFF)
44 -- 
45 1.8.3.1
46