summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in20
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 "* *"