blob: 9158117d01fdc033f62a18476ecbc11509df2c91 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001ghostscript-native:fix disable-system-libtiff
2
3Modify configure to add the check to make sure
4ghostscrip could work while system-libtiff is
5disabled.
6
7Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8Upstream-Status: Pending
9---
10 configure.ac | 5 +++++
11 1 file changed, 5 insertions(+)
12
13diff --git a/configure.ac b/configure.ac
14--- a/configure.ac
15+++ b/configure.ac
16@@ -1055,6 +1055,7 @@ Disabling tiff output devices.])
17 esac
18
19 if test $SHARE_LIBTIFF -eq 0; then
20+ if test -e $LIBTIFFDIR/configure; then
21 echo
22 echo "Running libtiff configure script..."
23 olddir=`pwd`
24@@ -1069,6 +1070,10 @@ if test $SHARE_LIBTIFF -eq 0; then
25 cd "$olddir"
26 echo
27 echo "Continuing with Ghostscript configuration..."
28+ else
29+ AC_MSG_NOTICE([Could not find local copy of libtiff.
30+Disabling tiff output devices.])
31+ fi
32 fi
33
34 AC_SUBST(SHARE_LIBTIFF)
35--
361.8.1.2
37