Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > a764da07835ea82d66d66695b0fd0bd2 > files > 3

mingw-openjpeg-1.5.2-5.mga9.src.rpm

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])