mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
b8e13405ea
commit
469840f812
|
@ -1,3 +1,9 @@
|
|||
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]
|
||||
|
|
15
configure.in
15
configure.in
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue