aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDavid Turner2011-01-06 00:43:36 +0000
committerDavid Turner2011-01-06 00:43:36 +0000
commitccc3830b49e143943a1b9714236745e5700e7204 (patch)
treef0964169e542445104acd1fbad84fd5f965faa0e /configure
parent0338febe57c08ab6ccb54d58cd0ec2d756ebf655 (diff)
downloadscummvm-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-xconfigure1
1 files changed, 1 insertions, 0 deletions
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"