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.
This commit is contained in:
Richard Purdie 2024-06-04 20:34:16 +03:00 committed by Ileana Dumitrescu
parent d5769d0d39
commit 9a4a02615c
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354

2
m4/libtool.m4 vendored
View File

@ -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