aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-03-23 11:24:23 +0000
committerJordi Vilalta Prat2008-03-23 11:24:23 +0000
commitb81993f894e195d8fcef54cb0f77486d485861bd (patch)
treec4d651eecec64558ff8ccb23b0d870df313988d4 /configure
parent7047e5e974938238cde087fe3c6f158cb2bcace8 (diff)
downloadscummvm-rg350-b81993f894e195d8fcef54cb0f77486d485861bd.tar.gz
scummvm-rg350-b81993f894e195d8fcef54cb0f77486d485861bd.tar.bz2
scummvm-rg350-b81993f894e195d8fcef54cb0f77486d485861bd.zip
Patch #1923547: enable nasm usage on OS/2
svn-id: r31226
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 2c08c084b0..8020876ca3 100755
--- a/configure
+++ b/configure
@@ -304,8 +304,8 @@ CheckNASM()
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$SEPARATOR
for path_dir in $_nasmpath; do
- if test -x "$path_dir/nasm" ; then
- NASM="$path_dir/nasm"
+ if test -x "$path_dir/nasm$EXEEXT" ; then
+ NASM="$path_dir/nasm$EXEEXT"
echo $NASM
break
fi
@@ -318,6 +318,9 @@ CheckNASM()
_nasm=no
else
case $_host_os in
+ os2-emx*)
+ NASMFLAGS="-f aout"
+ ;;
mingw* | cygwin*)
NASMFLAGS="-f win32"
;;