]> git.pld-linux.org Git - packages/ntop.git/blame - ntop-lua_wget.patch
- two more patches from fc
[packages/ntop.git] / ntop-lua_wget.patch
CommitLineData
abadc7c1
ER
1--- ntop-3.3.10.org/configure.in 2009-08-05 20:23:00.296160799 +0530
2+++ ntop-3.3.10/configure.in 2009-08-05 20:34:16.656165445 +0530
3@@ -1644,25 +1644,8 @@
4 fi
5 fi
6
7-dnl>
8-dnl> Lua - http://www.lua.org
9-dnl>
10-LUA_VERSION=lua-5.1.4
11-if test -f "$LUA_VERSION.tar.gz"; then
12- echo "Lua already present on this machine"
13-else
14- wget http://www.lua.org/ftp/$LUA_VERSION.tar.gz
15-fi
16-
17-tar xvfz $LUA_VERSION.tar.gz
18-cat $LUA_VERSION/src/Makefile | sed -e s,'MYCFLAGS=-DLUA_USE_POSIX',' MYCFLAGS="-fPIC -DLUA_USE_POSIX"',g > /tmp/lua.temp
19-cat /tmp/lua.temp > $LUA_VERSION/src/Makefile
20-#rm -f /tmp/lua.temp
21-cd $LUA_VERSION; make posix; cd ..
22-
23-LUA_LIB_DIR=$PWD/$LUA_VERSION"/src"
24-LIBS="-L${LUA_LIB_DIR} -llua ${LIBS} "
25-INCS="${INCS} -I${LUA_LIB_DIR}"
26+LIBS="-llua51 ${LIBS} "
27+INCS="${INCS} -I/usr/include/lua51"
28 AC_DEFINE_UNQUOTED(HAVE_LUA, 1, [LUA is supported])
29
30 dnl>
This page took 0.065849 seconds and 4 git commands to generate.