diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2013-01-29 15:12:04 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2013-01-29 15:17:48 +0000 |
commit | 62df74b7ef081a9f35028b493843a4624048f7af (patch) | |
tree | f60c993011dfac011acd354047225d5516e2c60e | |
parent | 3c7aa3543e098620d70c5df143513718d3e83b12 (diff) | |
download | ghostpdl-62df74b7ef081a9f35028b493843a4624048f7af.tar.gz |
Bug 693599: Change the function configure checks for in liblcms2.
The lcms2 API changed at 2.2, adding the cmsGetTransformOutputFormat()
call. When we're checking if we can use the system's lcms2, change the
autoconf check to look for cmsGetTransformOutputFormat().
No cluster differences.
-rw-r--r-- | gs/base/configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gs/base/configure.ac b/gs/base/configure.ac index 43036aa82..973dfaf38 100644 --- a/gs/base/configure.ac +++ b/gs/base/configure.ac @@ -834,9 +834,12 @@ if test x$with_lcms != xyes; then else AC_MSG_RESULT([no]) AC_MSG_CHECKING([for system lcms2 library]) - AC_CHECK_LIB(lcms2, cmsCreateXYZProfile, [ + AC_CHECK_LIB(lcms2, cmsGetTransformOutputFormat, [ AC_CHECK_HEADERS([lcms2.h], [LCMS2DIR="";SHARELCMS=1;WHICHLCMS=lcms2]) ]) + if test x$WHICHLCMS = x; then + AC_MSG_WARN([lcms2 not found, or too old]) + fi fi fi |