aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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"
;;