summarylogtreecommitdiffstats
path: root/openjpeg-1.5_tiff-pkgconfig.patch
blob: db47bb6419b5c983f6933dda349c7dcfebecacc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -rupN openjpeg-1.5.2/configure.ac openjpeg-1.5.2-new/configure.ac
--- openjpeg-1.5.2/configure.ac	2014-03-27 11:58:08.000000000 +0100
+++ openjpeg-1.5.2-new/configure.ac	2014-04-03 17:53:10.326944770 +0200
@@ -266,17 +266,7 @@ AC_MSG_CHECKING([whether to build with T
 AC_MSG_RESULT([${want_tiff}])
 
 if test "x${want_tiff}" = "xyes" ; then
-
-   OPJ_CHECK_LIB(
-      [tiff.h],
-      [tiff],
-      [TIFFOpen],
-      [have_libtiff="yes"],
-      [have_libtiff="no"])
-
-   if test "x${have_libtiff}" = "xno" ; then
-      AC_MSG_WARN([Can not find a usuable TIFF library. Make sure that CPPFLAGS and LDFLAGS are correctly set.])
-   fi
+   PKG_CHECK_MODULES([TIFF], libtiff-4)
 fi
 
 AC_MSG_CHECKING([whether TIFF is available])