1 diff -ur lua-5.1.3/etc/lua.pc lua-5.1.3-new/etc/lua.pc
2 --- lua-5.1.3/etc/lua.pc 2008-01-11 14:12:59.000000000 +0100
3 +++ lua-5.1.3-new/etc/lua.pc 2008-05-18 22:09:24.000000000 +0200
7 # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
10 INSTALL_BIN= ${prefix}/bin
11 INSTALL_INC= ${prefix}/include
12 INSTALL_LIB= ${prefix}/lib
13 diff -ur lua-5.1.3/Makefile lua-5.1.3-new/Makefile
14 --- lua-5.1.3/Makefile 2008-05-18 22:06:55.000000000 +0200
15 +++ lua-5.1.3-new/Makefile 2008-05-18 22:09:13.000000000 +0200
17 # doc directory.) You may want to make these paths consistent with LUA_ROOT,
18 # LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
20 -INSTALL_TOP= /usr/local
22 INSTALL_BIN= $(INSTALL_TOP)/bin
23 INSTALL_INC= $(INSTALL_TOP)/include
24 INSTALL_LIB= $(INSTALL_TOP)/lib
25 diff -ur lua-5.1.3/src/luaconf.h lua-5.1.3-new/src/luaconf.h
26 --- lua-5.1.3/src/luaconf.h 2008-05-18 22:07:11.000000000 +0200
27 +++ lua-5.1.3-new/src/luaconf.h 2008-05-18 22:09:50.000000000 +0200
29 ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
32 -#define LUA_ROOT "/usr/local/"
33 +#define LUA_ROOT "/usr/"
34 #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
35 #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
36 #define LUA_PATH_DEFAULT \