summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/pdf/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/pdf/configure.in.in')
-rw-r--r--tdefile-plugins/pdf/configure.in.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/tdefile-plugins/pdf/configure.in.in b/tdefile-plugins/pdf/configure.in.in
new file mode 100644
index 00000000..ec2fff51
--- /dev/null
+++ b/tdefile-plugins/pdf/configure.in.in
@@ -0,0 +1,16 @@
+AC_ARG_WITH([poppler],
+ [AC_HELP_STRING([--with-poppler],
+ [Enable PDF support through poppler @<:@default=check@:>@])],
+ [], with_poppler=check)
+
+## Compile the pdf meta info plugin only if Poppler is available
+#if test "x$with_poppler" != xno; then
+# PKG_CHECK_MODULES(POPPLER, poppler-qt >= 0.3.1, have_poppler=yes, have_poppler=no)
+#
+# if test "x$with_poppler" != xcheck && test "x$have_poppler" != xyes; then
+# AC_MSG_ERROR([--with-poppler was given, but test for poppler failed])
+# fi
+#fi
+
+have_poppler=yes
+AM_CONDITIONAL(include_PDF, test "x$have_poppler" = xyes)