]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
m4/libtool.m4: Fixed AC_CHECK_PROG call
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Jun 2024 17:34:16 +0000 (20:34 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 5 Jun 2024 17:25:58 +0000 (20:25 +0300)
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.

m4/libtool.m4

index c5be64368225952bfd3ea67ee521533d0286aea4..bbf2d21ffc4b945549c810dc09d591f6d753993e 100644 (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