summaryrefslogtreecommitdiff
path: root/Build/source/m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-03-21 09:37:04 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-03-21 09:37:04 +0000
commitf2e484aceecf05d600322fdde8a4a4a8ed1893d9 (patch)
tree52c01f35966be2846c17fd98da7b79cc96b81626 /Build/source/m4
parent7971b009460389521525040ffd874e9879bc0a7d (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')
-rw-r--r--Build/source/m4/ChangeLog4
-rw-r--r--Build/source/m4/kpse-setup.m49
2 files changed, 12 insertions, 1 deletions
diff --git a/Build/source/m4/ChangeLog b/Build/source/m4/ChangeLog
index 9825a74dca1..7cea39fe751 100644
--- a/Build/source/m4/ChangeLog
+++ b/Build/source/m4/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-21 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * kpse-setup.m4: Disable LuaJITTeX for known unsupported systems.
+
2014-03-13 Peter Breitenlohner <peb@mppmu.mpg.de>
* kpse-luajit-flags.m4 (KPSE_LUAJIT_DEFINES): Set LUAJIT_LDEXTRA
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])])