summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-29 23:54:20 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-29 23:54:20 +0000
commit6a2bf934fc548f066363cd953b7aaa6e5c38293a (patch)
tree766eb8645ee5e960a6bde10ef5dce7addaad744d
parent84a147f84bb77088e2866d8ba70e3cc315c76509 (diff)
libs/luajit: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@39893 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/libs/luajit/configure4
-rw-r--r--Build/source/libs/luajit/configure.ac1
-rw-r--r--Build/source/libs/luajit/m4/lj-system.m41
3 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/configure b/Build/source/libs/luajit/configure
index 37ea9fb1708..47e93b5d456 100755
--- a/Build/source/libs/luajit/configure
+++ b/Build/source/libs/luajit/configure
@@ -14130,6 +14130,8 @@ case $host_os in #(
LJHOST='SunOS' ;; #(
linux*) :
LJHOST='Linux' ;; #(
+ freebsd*) :
+ LJHOST='FreeBSD' ;; #(
*) :
LJHOST='Other' ;;
esac
@@ -14252,6 +14254,8 @@ case $LJHOST in #(
echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags ;; #(
Linux) :
echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags ;; #(
+ SunOS | FreeBSD) :
+ ;; #(
*) :
echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags ;;
esac
diff --git a/Build/source/libs/luajit/configure.ac b/Build/source/libs/luajit/configure.ac
index 68efbddbb34..a09398e3501 100644
--- a/Build/source/libs/luajit/configure.ac
+++ b/Build/source/libs/luajit/configure.ac
@@ -44,6 +44,7 @@ AS_CASE([$host_os],
[darwin*], [LJHOST='Darwin'],
[solaris* | sunos*], [LJHOST='SunOS'],
[linux*], [LJHOST='Linux'],
+ [freebsd*], [LJHOST='FreeBSD'],
[LJHOST='Other'])
LJ_ARCH()
AS_CASE([$LJHOST],
diff --git a/Build/source/libs/luajit/m4/lj-system.m4 b/Build/source/libs/luajit/m4/lj-system.m4
index 44c2c403eda..6624fa78edf 100644
--- a/Build/source/libs/luajit/m4/lj-system.m4
+++ b/Build/source/libs/luajit/m4/lj-system.m4
@@ -85,6 +85,7 @@ AS_CASE([$LJHOST],
[Windows], [echo '-DLUAJIT_OS=LUAJIT_OS_WINDOWS' >>native_flags],
[Darwin | iOS], [echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags],
[Linux], [echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags],
+ [SunOS | FreeBSD], [],
[echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags])
AC_MSG_RESULT([$LJHOST $LJARCH $DASM_ARCH])
]) # _LJ_ARCH