16 |
API_MINOR="3" |
API_MINOR="3" |
17 |
|
|
18 |
dnl NASM/YASM version requirement |
dnl NASM/YASM version requirement |
19 |
minimum_yasm_minor_version=7 |
minimum_yasm_minor_version=8 |
20 |
minimum_nasm_minor_version=0 |
minimum_nasm_minor_version=0 |
21 |
minimum_nasm_major_version=2 |
minimum_nasm_major_version=2 |
22 |
nasm_prog="nasm" |
nasm_prog="nasm" |
293 |
if test x"$macosx_module" = x"no"; then |
if test x"$macosx_module" = x"no"; then |
294 |
AC_MSG_RESULT([dylib options]) |
AC_MSG_RESULT([dylib options]) |
295 |
SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)" |
SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)" |
296 |
SPECIFIC_LDFLAGS="-dynamiclib -flat_namespace -compatibility_version \$(API_MAJOR) -current_version \$(API_MAJOR).\$(API_MINOR) -install_name \$(libdir)/\$(SHARED_LIB)" |
SPECIFIC_LDFLAGS="-Wl,-read_only_relocs,suppress -dynamiclib -flat_namespace -compatibility_version \$(API_MAJOR) -current_version \$(API_MAJOR).\$(API_MINOR) -install_name \$(libdir)/\$(SHARED_LIB)" |
297 |
else |
else |
298 |
AC_MSG_RESULT([module options]) |
AC_MSG_RESULT([module options]) |
299 |
PRE_SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)-temp.o" |
PRE_SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)-temp.o" |
360 |
fi |
fi |
361 |
AC_MSG_RESULT([$yasm_minor]) |
AC_MSG_RESULT([$yasm_minor]) |
362 |
|
|
363 |
dnl Actually, yasm >= 0.6.2 should be ok |
dnl Actually, yasm >= 0.7.99.2161 should be ok |
364 |
dnl But I'm too lazy to check also the patch version... |
dnl But I'm too lazy to check also the patch version... |
365 |
if test "$yasm_minor" -lt "$minimum_yasm_minor_version" ; then |
if test "$yasm_minor" -lt "$minimum_yasm_minor_version" ; then |
366 |
AC_MSG_WARN([yasm version is too old]) |
AC_MSG_WARN([yasm version is too old]) |