diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:31 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:31 +0000 |
commit | 129ed4b29e21fdb8bda3bee89c3e5d8cca6ba749 (patch) | |
tree | a9b7be66e1a760c586d68ab7d601953f5a090c7c /configure.in | |
parent | 96b92dfa3cb0a3ae876a3e650984a404327cdf93 (diff) |
Imported Upstream version 0.993upstream/0.993
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/configure.in b/configure.in index f942795..622cc70 100644 --- a/configure.in +++ b/configure.in @@ -6,14 +6,14 @@ AC_CONFIG_HEADER(include/config.h) # version code: V_MAJOR=0 -V_MINOR=991 +V_MINOR=993 PACKAGE=xsane BINPROGS="xsane" # languages -ALL_LINGUAS="cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh" +ALL_LINGUAS="ca cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN" SANE_V_MAJOR=1 VERSION=${V_MAJOR}.${V_MINOR} @@ -68,6 +68,12 @@ dnl Default is enabled TIFF AC_ARG_ENABLE(tiff, [ --disable-tiff do not include TIFF support], USE_TIFF=$enableval, USE_TIFF=yes) AC_MSG_RESULT($USE_TIFF) +dnl Check for lcms support +AC_MSG_CHECKING([whether LCMS (color management) support is requested]) +dnl Default is enabled LCMS +AC_ARG_ENABLE(lcms, [ --disable-lcms do not include LCMS support], USE_LCMS=$enableval, USE_LCMS=yes) +AC_MSG_RESULT($USE_LCMS) + echo "" echo "**************************************************************************" echo "" @@ -123,6 +129,10 @@ if test "${USE_TIFF}" = "yes"; then AC_CHECK_LIB(tiff, TIFFOpen) fi +if test "${USE_LCMS}" = "yes"; then + AC_CHECK_LIB(lcms, cmsOpenProfileFromFile) +fi + dnl Checks for library functions. AC_FUNC_ALLOCA AC_FUNC_MMAP @@ -284,6 +294,12 @@ else echo "* - PNG support deactivated *" fi +if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile}" = "yes"; then + echo "* - LCMS (color management) support activated *" +else + echo "* - LCMS (color management) support deactivated *" +fi + echo "* *" echo "****************************************************************" echo "* *" |