diff options
author | Julien BLACHE <jblache@debian.org> | 2007-02-27 22:22:40 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:34 +0000 |
commit | 4d8384e7b116e3eb11cc3df9151c8554dbca95fc (patch) | |
tree | f049f1240de8a8a971a621a4a3891d5eab2839a1 /configure.in | |
parent | 92f35807f68b30405639d4e0a95f748b6bdb793f (diff) | |
parent | 129ed4b29e21fdb8bda3bee89c3e5d8cca6ba749 (diff) |
Imported Debian patch 0.993-1debian/0.993-1
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 "* *" |