From ec6edaec1a0e77818f0b440eb5157011b44eda1d Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 26 May 2009 15:28:05 +0000 Subject: build system: handle --without-x git-svn-id: svn://tug.org/texlive/trunk@13482 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/m4/README | 2 +- Build/source/m4/kpse-setup.m4 | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Build/source/m4') diff --git a/Build/source/m4/README b/Build/source/m4/README index beeb13a3989..b439dae75af 100644 --- a/Build/source/m4/README +++ b/Build/source/m4/README @@ -25,7 +25,7 @@ owned by the TL tree. kpse-pkgs.m4: defines lists of subdirectories libs/Lib/, utils/Util/, and tex/Prog/ with libraries and programs that can be built as part of the TL tree. -kpse-setup.m4: macros that recurse through these lists to provide configure +kpse-setup.m4: macros that walk through these lists to provide configure options. They depend on configure fragments */*/ac/withenable.ac defining the dependencies between these libraries and programs. diff --git a/Build/source/m4/kpse-setup.m4 b/Build/source/m4/kpse-setup.m4 index de7a6e66df2..5b477196aec 100644 --- a/Build/source/m4/kpse-setup.m4 +++ b/Build/source/m4/kpse-setup.m4 @@ -48,6 +48,11 @@ KPSE_OPTIONS KPSE_ENABLE_CXX_HACK KPSE_LIBS_PREPARE KPSE_WEB2C_PREPARE +AS_CASE([$with_x], + [yes | no], [:], + [with_x=yes + AC_MSG_NOTICE([Assuming `--with-x']) + ac_configure_args="$ac_configure_args '--with-x'"]) KPSE_FOR_PKGS([utils], [m4_sinclude(kpse_TL[utils/]Kpse_Pkg[/ac/withenable.ac])]) KPSE_FOR_PKGS([texk], [m4_sinclude(kpse_TL[texk/]Kpse_Pkg[/ac/withenable.ac])]) m4_sinclude(kpse_TL[texk/kpathsea/ac/withenable.ac]) -- cgit v1.2.3