Mercurial > pub > dyncall > dyncall
annotate buildsys/lua/bootstrap.sh @ 0:3e629dc19168
initial from svn dyncall-1745
author | Daniel Adler |
---|---|
date | Thu, 19 Mar 2015 22:24:28 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 if [ -z "${DL}" ]; then | |
3 DL=wget | |
4 fi | |
5 case `uname -s` in | |
6 Darwin) | |
7 LPLAF=macosx | |
8 ;; | |
9 Linux) | |
10 LPLAF=linux | |
11 ;; | |
12 FreeBSD) | |
13 LPLAF=freebsd | |
14 ;; | |
15 SunOS) | |
16 LPLAF=solaris | |
17 ;; | |
18 AIX) | |
19 LPLAF=aix | |
20 ;; | |
21 DragonFly) | |
22 LPLAF=bsd | |
23 ;; | |
24 *BSD) | |
25 LPLAF=bsd | |
26 ;; | |
27 *) | |
28 LPLAF=posix | |
29 ;; | |
30 esac | |
31 DL="${DL}" make -f `dirname $0`/Makefile lua-5.1.4 | |
32 (cd lua-5.1.4; make ${LPLAF}) | |
33 | |
34 |