diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-05-26 15:28:05 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-05-26 15:28:05 +0000 |
commit | ec6edaec1a0e77818f0b440eb5157011b44eda1d (patch) | |
tree | 7a3ec1c3a4968303890e26f4da2ca75850a201b2 /Build/source/texk/xdvik/ac | |
parent | 0f26e1a8f3c5c5bcb5031bec4eccedaf313ca534 (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.ac | 6 |
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]) |