branch development updated: m4/libtool.m4: Fixed AC_CHECK_PROG call

Ileana Dumitrescu <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 9a4a0261 m4/libtool.m4: Fixed AC_CHECK_PROG call
9a4a0261 is described below

commit 9a4a02615c9e7cbcfd690ed31874822a7d6aaea2
Author: Richard Purdie <[email protected]>
AuthorDate: Tue Jun 4 20:34:16 2024 +0300

    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.
---
 m4/libtool.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index c5be6436..bbf2d21f 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.