add libtiff-4 test
This commit is contained in:
parent
2352ac1220
commit
2bb7902ace
@ -1,6 +1,7 @@
|
|||||||
19/4/12
|
19/4/12 started 7.28.5
|
||||||
- ifthenelse blend mode was broken
|
- ifthenelse blend mode was broken
|
||||||
- small blend speedup
|
- small blend speedup
|
||||||
|
- default to libtiff-4
|
||||||
|
|
||||||
17/4/12 started 7.28.4
|
17/4/12 started 7.28.4
|
||||||
- up max buffer size for vipsbuf
|
- up max buffer size for vipsbuf
|
||||||
|
23
configure.in
23
configure.in
@ -534,18 +534,29 @@ if test x"$with_pangoft2" != "xno"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# hmm, these don't have .pc files on ubuntu 5.10, how odd
|
# hmm, these don't have .pc files on ubuntu 5.10, how odd
|
||||||
FIND_TIFF(
|
|
||||||
[with_tiff=yes],
|
|
||||||
[AC_MSG_WARN([libtiff not found; disabling TIFF support])
|
|
||||||
with_tiff=no
|
|
||||||
])
|
|
||||||
|
|
||||||
FIND_ZIP(
|
FIND_ZIP(
|
||||||
[with_zip=yes],
|
[with_zip=yes],
|
||||||
[AC_MSG_WARN([libz not found; disabling ZIP support])
|
[AC_MSG_WARN([libz not found; disabling ZIP support])
|
||||||
with_zip=no
|
with_zip=no
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# look for TIFF with pkg-config ... fall back to our tester
|
||||||
|
# pkgconfig support for libtiff starts with libtiff-4
|
||||||
|
AC_ARG_WITH([tiff],
|
||||||
|
AS_HELP_STRING([--without-tiff], [build without libtiff (default: test)]))
|
||||||
|
|
||||||
|
if test x"$with_tiff" != "xno"; then
|
||||||
|
PKG_CHECK_MODULES(TIFF, libtiff-4,
|
||||||
|
[AC_DEFINE(HAVE_TIFF,1,[define if you have libtiff installed.])
|
||||||
|
with_tiff=yes
|
||||||
|
PACKAGES_USED="$PACKAGES_USED libtiff-4"],
|
||||||
|
[FIND_TIFF(,
|
||||||
|
[AC_MSG_WARN([libtiff not found; disabling TIFF support])
|
||||||
|
with_tiff=no
|
||||||
|
])
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
# look for PNG with pkg-config ... fall back to our tester
|
# look for PNG with pkg-config ... fall back to our tester
|
||||||
AC_ARG_WITH([png],
|
AC_ARG_WITH([png],
|
||||||
AS_HELP_STRING([--without-png], [build without libpng (default: test)]))
|
AS_HELP_STRING([--without-png], [build without libpng (default: test)]))
|
||||||
|
Loading…
Reference in New Issue
Block a user