AC_CHECK_PROGS fix to recognize multiple assemblers.

This commit is contained in:
Peter Hyman 2020-04-15 08:34:23 -05:00
parent 4f1adeaec4
commit bb45b97d79

View file

@ -69,8 +69,8 @@ AC_ARG_ENABLE(
)
if test x"$ASM" = x"yes"; then
AC_CHECK_PROG( ASM_PROG, nasm, nasm, no ) # fix to set ASM_PROG to nasm, not yes.
if test x"$ASM_PROG" = x"no "; then
AC_CHECK_PROGS( ASM_PROG, nasm yasm, no, ) # fix to set ASM_PROG to nasm or yasm
if test x"$ASM_PROG" = x"no"; then
ASM=no
fi
fi