diff options
author | David Turner | 2011-01-06 00:43:36 +0000 |
---|---|---|
committer | David Turner | 2011-01-06 00:43:36 +0000 |
commit | ccc3830b49e143943a1b9714236745e5700e7204 (patch) | |
tree | f0964169e542445104acd1fbad84fd5f965faa0e /configure | |
parent | 0338febe57c08ab6ccb54d58cd0ec2d756ebf655 (diff) | |
download | scummvm-rg350-ccc3830b49e143943a1b9714236745e5700e7204.tar.gz scummvm-rg350-ccc3830b49e143943a1b9714236745e5700e7204.tar.bz2 scummvm-rg350-ccc3830b49e143943a1b9714236745e5700e7204.zip |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |