Patch #1923547: enable nasm usage on OS/2

svn-id: r31226
This commit is contained in:
Jordi Vilalta Prat 2008-03-23 11:24:23 +00:00
parent 7047e5e974
commit b81993f894
5 changed files with 9 additions and 5 deletions

View file

@ -137,6 +137,7 @@ Alyssa Anne Milburn "fuzzie"
Andy Molloy "maloi"
Armin Mueller "arm_in"
Andrea Musuruane "musuruan"
KO Myung-Hun "lvzuufx"
Peter Naulls "pnaulls"
Christian Neumair "mannythegnome"
Nicos "anarxia"

7
configure vendored
View file

@ -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"
;;

View file

@ -38,7 +38,7 @@ extern "C" {
// NOTE: if your compiler uses different mangled names, add another
// condition here
#if !defined(_WIN32) && !defined(MACOSX)
#if !defined(_WIN32) && !defined(MACOSX) && !defined(__OS2__)
#define RGBtoYUV _RGBtoYUV
#define LUT16to32 _LUT16to32
#endif

View file

@ -30,7 +30,7 @@
extern "C" {
#if !defined(_WIN32) && !defined(MACOSX)
#if !defined(_WIN32) && !defined(MACOSX) && !defined(__OS2__)
#define hq2x_16 _hq2x_16
#endif

View file

@ -30,7 +30,7 @@
extern "C" {
#if !defined(_WIN32) && !defined(MACOSX)
#if !defined(_WIN32) && !defined(MACOSX) && !defined(__OS2__)
#define hq3x_16 _hq3x_16
#endif