diff options
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]) |