1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
AC_ARG_WITH(tiff,AC_HELP_STRING([--with-tiff],[Enable tiff support [default=check]]),[tiff_test="$withval"],[tiff_test="yes"])
if test "x$tiff_test" = "xyes" ; then
AC_FIND_TIFF
fi
AC_FIND_JPEG
AC_FIND_PNG
AC_ARG_WITH(jasper,AC_HELP_STRING([--with-jasper],[Enable jasper (jpeg2k) support [default=check]]),[jasper_test="$withval"],[jasper_test="yes"])
if test "x$jasper_test" = "xyes" ; then
AC_FIND_JASPER
fi
AC_ARG_WITH(openexr,AC_HELP_STRING([--with-openexr],[Enable openexr support [default=check]]),[openexr_test="$withval"],[openexr_test="yes"])
if test "x$openexr_test" = "xyes" ; then
KDE_FIND_LIBEXR
fi
AM_CONDITIONAL(include_TIFF_MODULES, test -n "$LIBTIFF")
AM_CONDITIONAL(include_JP2_MODULES, test -n "$LIB_JASPER")
AM_CONDITIONAL(include_EXR_MODULES, test -n "$LIB_EXR")
|