mirror of
https://https.git.savannah.gnu.org/git/libtool.git
synced 2026-01-26 15:39:10 +00:00
libtool: Use AC_CHECK_PROG instead of AC_CHECK_TOOL to find "file"
This fixes a warning when cross-building: checking for arm-v7a-linux-gnueabihf-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet file isn't platform specific and not usually installed with a host triplet. So use AC_CHECK_PROG which differs from AC_CHECK_TOOL by not expecting such a host triplet prefix. * m4/libtool.m4 (_LT_DECL_FILECMD): Change AC_CHECK_TOOL to AC_CHECK_PROG.
This commit is contained in:
parent
85093d697a
commit
64bef5ba65
2
m4/libtool.m4
vendored
2
m4/libtool.m4
vendored
@ -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_TOOL([FILECMD], [file], [:])
|
||||
[AC_CHECK_PROG([FILECMD], [file], [:])
|
||||
_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
|
||||
])# _LD_DECL_FILECMD
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user