-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.autotool
89 lines (76 loc) · 4.58 KB
/
README.autotool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Overview
--------
This is a re-packaging of the standard Lua 5.1.5 distribution using
the GNU autotools.
* See the INSTALL.autotool file for generic information on using configure.
* See the INSTALL section below on specific instructions for this package.
Multiple concurrent installations
---------------------------------
The default directory layout doesn't lend itself well to multiple
concurrent versions of Lua.
If configure is passed the --enable-versioned-install option it
provides a layout which allows easy cohabitance of multiple versions.
The difference between the two layouts is shown below; default
on the left, versioned on the right.
{prefix} {prefix}
|-- bin |-- bin
| |-- lua | |-- lua -> lua5.1
| `-- luac | |-- lua5.1
| | |-- luac -> luac5.1
| | `-- luac5.1
|-- include |-- include
| | | `-- lua5.1
| |-- lauxlib.h | |-- lauxlib.h
| |-- luaconf.h | |-- luaconf.h
| |-- lua.h | |-- lua.h
| |-- lua.hpp | |-- lua.hpp
| `-- lualib.h | `-- lualib.h
|-- lib |-- lib
| |-- liblua-5.1.so | |-- liblua5.1.a
| |-- liblua.a | |-- liblua5.1.la
| |-- liblua.la | |-- liblua5.1.so -> liblua5.1.so.0.0.0
| |-- liblua.so -> liblua-5.1.so | |-- liblua5.1.so.0 -> liblua5.1.so.0.0.0
| | | |-- liblua5.1.so.0.0.0
| `-- pkgconfig | `-- pkgconfig
| `-- lua.pc | `-- lua5.1.pc
`-- share `-- share
|-- doc |-- doc
| `-- lua | `-- lua5.1
| |-- ... | |-- ...
`-- man `-- man
`-- man1 `-- man1
|-- lua.1 |-- lua.1
`-- luac.1 `-- luac.1
_--enable-versioned-install_ takes an optional value,
which will be appended to the version string.
For example, compare _--enable-versioned-install_ (on the left) to
_--enable-versioned-install=-compat_ (on the right)
{prefix} {prefix}
|-- bin |-- bin
| |-- lua -> lua5.1 | |-- lua -> lua5.1-compat
| |-- lua5.1 | |-- lua5.1-compat
| |-- luac -> luac5.1 | |-- luac -> luac5.1-compat
| `-- luac5.1 | `-- luac5.1 -compat
|-- include |-- include
| `-- lua5.1 | `-- lua5.1-compat
| |-- lauxlib.h | |-- lauxlib.h
| |-- luaconf.h | |-- luaconf.h
| |-- lua.h | |-- lua.h
| |-- lua.hpp | |-- lua.hpp
| `-- lualib.h | `-- lualib.h
|-- lib |-- lib
| |-- liblua5.1.a | |-- liblua5.1-compat.a
| |-- liblua5.1.la | |-- liblua5.1-compat.la
| |-- liblua5.1.so -> liblua5.1.so.0.0.0 | |-- liblua5.1-compat.so -> liblua5.1-compat.so.0.0.0
| |-- liblua5.1.so.0 -> liblua5.1.so.0.0.0 | |-- liblua5.1-compat.so.0 -> liblua5.1-compat.so.0.0.0
| |-- liblua5.1.so.0.0.0 | |-- liblua5.1-compat.so.0.0.0
| `-- pkgconfig | `-- pkgconfig
| `-- lua5.1.pc | `-- lua5.1-compat.pc
`-- share `-- share
|-- doc |-- doc
| `-- lua5.1 | `-- lua5.1
| |-- ... | |-- ...
`-- man `-- man
`-- man1 `-- man1
|-- lua.1 |-- lua.1
`-- luac.1 `-- luac.1