From: Richard Purdie Date: Tue, 4 Jun 2024 17:34:16 +0000 (+0300) Subject: m4/libtool.m4: Fixed AC_CHECK_PROG call X-Git-Tag: v2.5.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4a02615c9e7cbcfd690ed31874822a7d6aaea2;p=thirdparty%2Flibtool.git m4/libtool.m4: Fixed AC_CHECK_PROG call AC_CHECK_TOOL was changed to AC_CHECK_PROG however the arguments are different and this result is a value of ":". Change this to match the original intent. The lack of FILECMD was causing failures for mips64 builds as -m elf was being passed to LD which isn't supported on our targets. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index c5be64368..bbf2d21ff 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -8216,7 +8216,7 @@ AC_SUBST([DLLTOOL]) # ---------------- # Check for a file(cmd) program that can be used to detect file type and magic m4_defun([_LT_DECL_FILECMD], -[AC_CHECK_PROG([FILECMD], [file], [:]) +[AC_CHECK_PROG([FILECMD], [file], [file], [:]) _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types]) ])# _LD_DECL_FILECMD