]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
bff3e61763b1bf8bcc057b3cd69d41827f69f4ac
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 ghostscript-native:fix disable-system-libtiff
2
3 Modify configure to add the check to make sure
4 ghostscrip could work while system-libtiff is
5 disabled.
6
7 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8
9 Updated to apply to ghostscript 9.21.
10
11 Signed-off-by: Joe Slater <joe.slater@windriver.com>
12
13 Upstream-Status: Pending
14
15
16
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -1259,6 +1259,7 @@ case "x$with_system_libtiff" in
20 esac
21
22 if test x"$SHARE_LIBTIFF" = x"0" ; then
23 + if test -e $LIBTIFFDIR/configure; then
24 echo "Running libtiff configure script..."
25 olddir=`pwd`
26 if ! test -d "$LIBTIFFCONFDIR" ; then
27 @@ -1272,6 +1273,10 @@ if test x"$SHARE_LIBTIFF" = x"0" ; then
28 cd "$olddir"
29 echo
30 echo "Continuing with Ghostscript configuration..."
31 + else
32 + AC_MSG_NOTICE([Could not find local copy of libtiff.
33 +Disabling tiff output devices.])
34 + fi
35 fi
36
37 AC_SUBST(SHARE_LIBTIFF)