Configure: use AC_PATH_PROG for yasm detection
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 17 Oct 2014 09:50:28 +0000 (11:50 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 17 Oct 2014 09:50:28 +0000 (11:50 +0200)
configure.ac

index b8c8b79..d5cf6d3 100644 (file)
@@ -77,7 +77,7 @@ AM_PROG_AS
 
 AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [Validator for desktop entry files])
 AC_CHECK_PROGS(DESKTOP_FILE_VALIDATE, [${DESKTOP_FILE_VALIDATE} desktop-file-validate], :)
 
 AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [Validator for desktop entry files])
 AC_CHECK_PROGS(DESKTOP_FILE_VALIDATE, [${DESKTOP_FILE_VALIDATE} desktop-file-validate], :)
-AC_CHECK_PROGS(YASM, yasm)
+AC_PATH_PROG(YASM, yasm)
 
 dnl Check for compiler properties
 AC_C_CONST
 
 dnl Check for compiler properties
 AC_C_CONST