diff mbox

btrfs-progs: Use AC_CHECK_TOOL to find AR

Message ID 1452766683-17982-1-git-send-email-floppym@gentoo.org (mailing list archive)
State Accepted
Headers show

Commit Message

Mike Gilbert Jan. 14, 2016, 10:18 a.m. UTC
AC_CHECK_TOOL takes the --host option into account for cross-compiling.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Sterba Jan. 14, 2016, 10:47 a.m. UTC | #1
On Thu, Jan 14, 2016 at 05:18:03AM -0500, Mike Gilbert wrote:
> AC_CHECK_TOOL takes the --host option into account for cross-compiling.
> 
> Signed-off-by: Mike Gilbert <floppym@gentoo.org>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index c114097..fc343ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@  AC_SYS_LARGEFILE
 
 AC_PROG_INSTALL
 AC_PROG_LN_S
-AC_PATH_PROG([AR], [ar])
+AC_CHECK_TOOL([AR], [ar])
 AC_PATH_PROG([RM], [rm], [rm])
 AC_PATH_PROG([RMDIR], [rmdir], [rmdir])