summaryrefslogtreecommitdiffstats
path: root/tdeioslave/thumbnail/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/thumbnail/configure.in.in')
-rw-r--r--tdeioslave/thumbnail/configure.in.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/tdeioslave/thumbnail/configure.in.in b/tdeioslave/thumbnail/configure.in.in
new file mode 100644
index 000000000..829727b69
--- /dev/null
+++ b/tdeioslave/thumbnail/configure.in.in
@@ -0,0 +1,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")