Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | Upstream-Status: Pending |
| 9 | --- |
| 10 | configure.ac | 5 +++++ |
| 11 | 1 file changed, 5 insertions(+) |
| 12 | |
| 13 | diff --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 | -- |
| 36 | 1.8.1.2 |
| 37 | |