]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: Use AC_CHECK_PROG instead of AC_CHECK_TOOL to find "file"
authorUwe Kleine-König <uwe@kleine-koenig.org>
Mon, 4 Dec 2023 20:47:57 +0000 (21:47 +0100)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jan 2024 06:37:17 +0000 (01:37 -0500)
commit64bef5ba65f6820cd5f88e5249324b4f5955ee25
treead7330de3106f3ede4445ce5fb790a351921c2c4
parent85093d697a5f9cf068b06e005fe1f43a7e9730e0
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.
m4/libtool.m4