summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure
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/configure
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/configure')
-rwxr-xr-xBuild/source/texk/configure34
1 files changed, 34 insertions, 0 deletions
diff --git a/Build/source/texk/configure b/Build/source/texk/configure
index 0b2c04daf95..d206404d460 100755
--- a/Build/source/texk/configure
+++ b/Build/source/texk/configure
@@ -2234,6 +2234,14 @@ fi
+case $with_x in
+ yes | no) : ;;
+ *) with_x=yes
+ { $as_echo "$as_me:$LINENO: Assuming \`--with-x'" >&5
+$as_echo "$as_me: Assuming \`--with-x'" >&6;}
+ ac_configure_args="$ac_configure_args '--with-x'" ;;
+esac
+
## utils/dialog/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/dialog/
## configure options and TL libraries required for dialog
# Check whether --enable-dialog was given.
@@ -2251,6 +2259,19 @@ esac
## utils/pdfopen/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/pdfopen/
## configure options and TL libraries required for pdfopen
+if test "x$with_x" = xno; then
+ case $enable_pdfopen in
+ "") { $as_echo "$as_me:$LINENO: \`--without-x' -> \`--disable-pdfopen'" >&5
+$as_echo "$as_me: \`--without-x' -> \`--disable-pdfopen'" >&6;}
+ enable_pdfopen=no
+ ac_configure_args="$ac_configure_args '--disable-pdfopen'" ;;
+ yes) { { $as_echo "$as_me:$LINENO: error: Sorry, incompatible options \`--without-x' and \`--enable-pdfopen'" >&5
+$as_echo "$as_me: error: Sorry, incompatible options \`--without-x' and \`--enable-pdfopen'" >&2;}
+ { (exit 1); exit 1; }; } ;;
+esac
+
+fi
+
# Check whether --enable-pdfopen was given.
if test "${enable_pdfopen+set}" = set; then
enableval=$enable_pdfopen;
@@ -3072,6 +3093,19 @@ test "x$enable_xdv2pdf" = xno || {
## texk/xdvik/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/
## configure options and TL libraries required for xdvik
+if test "x$with_x" = xno; then
+ case $enable_xdvik in
+ "") { $as_echo "$as_me:$LINENO: \`--without-x' -> \`--disable-xdvik'" >&5
+$as_echo "$as_me: \`--without-x' -> \`--disable-xdvik'" >&6;}
+ enable_xdvik=no
+ ac_configure_args="$ac_configure_args '--disable-xdvik'" ;;
+ yes) { { $as_echo "$as_me:$LINENO: error: Sorry, incompatible options \`--without-x' and \`--enable-xdvik'" >&5
+$as_echo "$as_me: error: Sorry, incompatible options \`--without-x' and \`--enable-xdvik'" >&2;}
+ { (exit 1); exit 1; }; } ;;
+esac
+
+fi
+
# Check whether --enable-xdvik was given.
if test "${enable_xdvik+set}" = set; then
enableval=$enable_xdvik;