summaryrefslogtreecommitdiffstats
path: root/kioslave/thumbnail/configure.in.in
blob: 829727b6958330e7c032cbec300fa2f079f72bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
AC_ARG_WITH(openexr,
  [AC_HELP_STRING(--with-openexr,
    [enable support for OpenEXR @<:@default=check@:>@])],
  [], with_openexr=check)

if test "x$with_openexr" != xno; then
  KDE_FIND_LIBEXR

  if test "x$with_openexr" != xcheck && test -z "$LIB_EXR"; then
    AC_MSG_ERROR([--with-openexr was given, but test for OpenEXR failed])
  fi
fi

AM_CONDITIONAL(include_EXR_MODULES, test -n "$LIB_EXR")