From 17e204bb5eeafa49ebfe6fcc063be0689b1cb7df Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 14 Jan 2016 05:18:03 -0500 Subject: [PATCH] btrfs-progs: Use AC_CHECK_TOOL to find AR AC_CHECK_TOOL takes the --host option into account for cross-compiling. Signed-off-by: Mike Gilbert Signed-off-by: David Sterba --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c1140973..fc343ea1 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])