From bb45b97d7926c9c106abd89ee65ac7339b22f7eb Mon Sep 17 00:00:00 2001 From: Peter Hyman Date: Wed, 15 Apr 2020 08:34:23 -0500 Subject: [PATCH] AC_CHECK_PROGS fix to recognize multiple assemblers. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 29e8d35..0335085 100644 --- a/configure.ac +++ b/configure.ac @@ -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