- Timestamp:
- Jun 22, 2006, 12:46:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/acinclude.m4
r8523 r8707 278 278 279 279 AC_CHECK_LIB([dl], [dlopen]) 280 AX_CHECK_REQUIRED_HEADER_LIB([lua.h], [lua lua50], [lua_open],,,) 281 AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base]) 282 #dnl libLUA found 283 # [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}" AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base], 280 AX_CHECK_REQUIRED_HEADER_LIB([lua.h], [lua lua50], [lua_open], 281 dnl libLUA found 282 [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}" AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base], 284 283 dnl liblualib found 285 #[LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"],,286 #[http://www.lua.org],, [${LUA_LIBS} -ldl -lm])],287 #dnl liblua not found (download it)288 #[AX_GET_INSTALL_NECESSARY_LIB([http://www.lua.org/ftp], [lua-5.0.tar.gz], [lua-5.0], [extern_libs/], [include/*.h lib/*.a])289 #LUA_LIBS="-llualib -llua" LUA_INCLUDES="-I$(top_build_dir)/extern_libs" ], [http://www.lua.org])284 [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"],, 285 [http://www.lua.org],, [${LUA_LIBS} -ldl -lm])], 286 dnl liblua not found (download it) 287 [AX_GET_INSTALL_NECESSARY_LIB([http://www.lua.org/ftp], [lua-5.0.tar.gz], [lua-5.0], [extern_libs/], [include/*.h lib/*.a]) 288 LUA_LIBS="-llualib -llua" LUA_INCLUDES="-I$(top_build_dir)/extern_libs" ], [http://www.lua.org]) 290 289 291 290 AC_SUBST([LUA_LIBS]) … … 341 340 342 341 #cleaning up 343 #echo "rm -rf ${_get_install_DISTDIR}"344 #rm -rf ${_get_install_DISTDIR}345 #echo "rm ${_get_install_DISTFILE}"346 #rm ${_get_install_DISTFILE}347 ]) 342 echo "rm -rf ${_get_install_DISTDIR}" 343 rm -rf ${_get_install_DISTDIR} 344 echo "rm ${_get_install_DISTFILE}" 345 rm ${_get_install_DISTFILE} 346 ])
Note: See TracChangeset
for help on using the changeset viewer.