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/m4 | |
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/m4')
-rw-r--r-- | Build/source/m4/README | 2 | ||||
-rw-r--r-- | Build/source/m4/kpse-setup.m4 | 5 |
2 files changed, 6 insertions, 1 deletions
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]) |