From ccc3830b49e143943a1b9714236745e5700e7204 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 6 Jan 2011 00:43:36 +0000 Subject: SWORD25: Update configure Script to set LUA platform configuration for linux* This changes removes the tmpnam warning when building the Sword 2.5 engine. This fix sets the top level define which is used by engines/sword25/util/lua/luaconf.h to configure the LUA interpreter build, but only for linux* targets. Other targets may need a similar fix. Note : LUA_USE_POSIX is used in preference to LUA_USE_LINUX as this causes another warning associated with the dlopen usage. svn-id: r55130 --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index 19cca71a22..eb75572b99 100755 --- a/configure +++ b/configure @@ -1564,6 +1564,7 @@ case $_host_os in CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)" fi _unix=yes + DEFINES="$DEFINES -DLUA_USE_POSIX" ;; mingw*) DEFINES="$DEFINES -DWIN32 -D__USE_MINGW_ANSI_STDIO=0" -- cgit v1.2.3