summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/exr/configure.in.in
blob: 2a9ff5e52ac38e19192f6e44d27734082fc30262 (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")