diff options
Diffstat (limited to 'kimgio/configure.in.in')
-rw-r--r-- | kimgio/configure.in.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kimgio/configure.in.in b/kimgio/configure.in.in new file mode 100644 index 000000000..fa17ad3ee --- /dev/null +++ b/kimgio/configure.in.in @@ -0,0 +1,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") |