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 <floppym@gentoo.org>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Mike Gilbert 2016-01-14 05:18:03 -05:00 committed by David Sterba
parent 0de3c18b95
commit 17e204bb5e
1 changed files with 1 additions and 1 deletions

View File

@ -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])