summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/ac
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-26 15:28:05 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-26 15:28:05 +0000
commitec6edaec1a0e77818f0b440eb5157011b44eda1d (patch)
tree7a3ec1c3a4968303890e26f4da2ca75850a201b2 /Build/source/texk/xdvik/ac
parent0f26e1a8f3c5c5bcb5031bec4eccedaf313ca534 (diff)
build system: handle --without-x
git-svn-id: svn://tug.org/texlive/trunk@13482 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/ac')
-rw-r--r--Build/source/texk/xdvik/ac/withenable.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/ac/withenable.ac b/Build/source/texk/xdvik/ac/withenable.ac
index 842b417bdaa..2cd92509fe0 100644
--- a/Build/source/texk/xdvik/ac/withenable.ac
+++ b/Build/source/texk/xdvik/ac/withenable.ac
@@ -6,5 +6,11 @@ dnl
dnl extra_dirs = texk/xdvik/squeeze
dnl
## configure options and TL libraries required for xdvik
+AS_IF([test "x$with_x" = xno],
+ [AS_CASE([$enable_xdvik],
+ [""], [AC_MSG_NOTICE([`--without-x' -> `--disable-xdvik'])
+ enable_xdvik=no
+ ac_configure_args="$ac_configure_args '--disable-xdvik'"],
+ [yes], [AC_MSG_ERROR([Sorry, incompatible options `--without-x' and `--enable-xdvik'])])])
KPSE_ENABLE_PROG([xdvik], [kpathsea t1lib])
m4_include(kpse_TL[texk/xdvik/ac/xdvik.ac])