Commit 469840f8 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

applied a patch from Adrian Bunk that changes the function to look for

2003-11-25  Sven Neumann  <sven@gimp.org>

	* configure.in: applied a patch from Adrian Bunk that changes the
	function to look for when checking for lcms (bug #127893). Also
	added a warning when lcms is not found.
parent b8e13405
2003-11-25 Sven Neumann <sven@gimp.org>
* configure.in: applied a patch from Adrian Bunk that changes the
function to look for when checking for lcms (bug #127893). Also
added a warning when lcms is not found.
2003-11-25 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.[ch]
......@@ -1041,17 +1041,22 @@ AC_SUBST(WMF_CFLAGS)
################
have_lcms=no
AC_CHECK_LIB(lcms, cmsCreateProofingTransform, [
AC_CHECK_LIB(lcms, cmsCreate_sRGBProfile, [
AC_CHECK_HEADER(lcms.h,
have_lcms=yes
LCMS_LIBS="-llcms", [
have_lcms=yes, [
AC_CHECK_HEADER(lcms/lcms.h,
have_lcms=yes
AC_DEFINE(HAVE_LCMS_LCMS_H, 1,
[Define to 1 if the lcms header must be included as lcms/lcms.h])
LCMS_LIBS="-llcms")])
[Define to 1 if the lcms header must be included as lcms/lcms.h]))
])
])
if test $have_lcms = yes; then
LCMS_LIBS="-llcms"
else
AC_MSG_WARN([*** color proof module will not be built (lcms not found or unuseable) ***])
fi
AC_SUBST(LCMS_LIBS)
AM_CONDITIONAL(HAVE_LCMS, test $have_lcms = yes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment