diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-21 09:37:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-21 09:37:04 +0000 |
commit | f2e484aceecf05d600322fdde8a4a4a8ed1893d9 (patch) | |
tree | 52c01f35966be2846c17fd98da7b79cc96b81626 /Build/source/m4/kpse-setup.m4 | |
parent | 7971b009460389521525040ffd874e9879bc0a7d (diff) |
Automatically disable LuaJITTeX for known unsupported systems
git-svn-id: svn://tug.org/texlive/trunk@33248 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-setup.m4')
-rw-r--r-- | Build/source/m4/kpse-setup.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/m4/kpse-setup.m4 b/Build/source/m4/kpse-setup.m4 index 73913d38159..59a883e2e41 100644 --- a/Build/source/m4/kpse-setup.m4 +++ b/Build/source/m4/kpse-setup.m4 @@ -1,5 +1,5 @@ # Private macros for the TeX Live (TL) tree. -# Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org> # # This file is free software; the copyright holder # gives unlimited permission to copy and/or distribute it, @@ -15,6 +15,7 @@ # additional program specific configure options (if any) # library dependencies for programs and libraries AC_DEFUN([KPSE_SETUP], [dnl +AC_REQUIRE([AC_CANONICAL_HOST])[]dnl AC_REQUIRE([_KPSE_MSG_WARN_PREPARE])[]dnl m4_define([kpse_TL], [$1])[]dnl m4_define([kpse_indent_26], [28])[]dnl @@ -80,6 +81,12 @@ AS_CASE([$with_x:$kpse_cv_have_win32], [with_x=no AC_MSG_NOTICE([WIN32 -> `--without-x']) ac_configure_args="$ac_configure_args '--without-x'"]) +AS_CASE([$enable_luajittex], + [yes | no], [:], + [AS_CASE([$host], + [alpha* | sparc* | x86_64-*-cygwin], + [AC_MSG_NOTICE([$host -> `--disable-luajittex']) + ac_configure_args="$ac_configure_args '--disable-luajittex'"])]) 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])]) KPSE_FOR_PKGS([libs], [m4_sinclude(kpse_TL[libs/]Kpse_Pkg[/ac/withenable.ac])]) |