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/utils/pdfopen | |
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/utils/pdfopen')
-rw-r--r-- | Build/source/utils/pdfopen/ac/withenable.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/utils/pdfopen/ac/withenable.ac b/Build/source/utils/pdfopen/ac/withenable.ac index af5081f81ca..5aed0888cd2 100644 --- a/Build/source/utils/pdfopen/ac/withenable.ac +++ b/Build/source/utils/pdfopen/ac/withenable.ac @@ -4,4 +4,10 @@ dnl Copyright (C) 2009 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 pdfopen +AS_IF([test "x$with_x" = xno], + [AS_CASE([$enable_pdfopen], + [""], [AC_MSG_NOTICE([`--without-x' -> `--disable-pdfopen']) + enable_pdfopen=no + ac_configure_args="$ac_configure_args '--disable-pdfopen'"], + [yes], [AC_MSG_ERROR([Sorry, incompatible options `--without-x' and `--enable-pdfopen'])])]) KPSE_ENABLE_PROG([pdfopen]) |