summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch
blob: bff3e61763b1bf8bcc057b3cd69d41827f69f4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ghostscript-native:fix disable-system-libtiff

Modify configure to add the check to make sure
ghostscrip could work while system-libtiff is
disabled.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

Updated to apply to ghostscript 9.21.

Signed-off-by: Joe Slater <joe.slater@windriver.com>

Upstream-Status: Pending



--- a/configure.ac
+++ b/configure.ac
@@ -1259,6 +1259,7 @@ case "x$with_system_libtiff" in
 esac
 
 if test x"$SHARE_LIBTIFF" = x"0" ; then
+    if test -e $LIBTIFFDIR/configure; then
       echo "Running libtiff configure script..."
       olddir=`pwd`
       if ! test -d "$LIBTIFFCONFDIR" ; then
@@ -1272,6 +1273,10 @@ if test x"$SHARE_LIBTIFF" = x"0" ; then
       cd "$olddir"
       echo
       echo "Continuing with Ghostscript configuration..."
+    else
+      AC_MSG_NOTICE([Could not find local copy of libtiff.
+Disabling tiff output devices.])
+    fi
 fi
 
 AC_SUBST(SHARE_LIBTIFF)
OpenPOWER on IntegriCloud