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
|