summaryrefslogtreecommitdiff
path: root/Build/source/utils/xpdfopen/ac/withenable.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/xpdfopen/ac/withenable.ac')
-rw-r--r--Build/source/utils/xpdfopen/ac/withenable.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/utils/xpdfopen/ac/withenable.ac b/Build/source/utils/xpdfopen/ac/withenable.ac
new file mode 100644
index 00000000000..1cc4b4b3f0a
--- /dev/null
+++ b/Build/source/utils/xpdfopen/ac/withenable.ac
@@ -0,0 +1,13 @@
+## utils/xpdfopen/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xpdfopen/
+dnl
+dnl Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
+dnl You may freely use, modify and/or distribute this file.
+dnl
+## configure options and TL libraries required for xpdfopen
+AS_IF([test "x$with_x" = xno],
+ [AS_CASE([$enable_xpdfopen],
+ [""], [AC_MSG_NOTICE([`--without-x' -> `--disable-xpdfopen'])
+ enable_xpdfopen=no
+ ac_configure_args="$ac_configure_args '--disable-xpdfopen'"],
+ [yes], [AC_MSG_ERROR([Sorry, incompatible options `--without-x' and `--enable-xpdfopen'])])])
+KPSE_ENABLE_PROG([xpdfopen])