From patchwork Thu Jan 14 10:18:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Gilbert X-Patchwork-Id: 8030931 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BFC43BEEE5 for ; Thu, 14 Jan 2016 10:18:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DC0CA204A2 for ; Thu, 14 Jan 2016 10:18:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B318520461 for ; Thu, 14 Jan 2016 10:18:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453AbcANKSK (ORCPT ); Thu, 14 Jan 2016 05:18:10 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:53415 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226AbcANKSH (ORCPT ); Thu, 14 Jan 2016 05:18:07 -0500 Received: from naomi.gilbertsystems.net (d192-24-148-25.try.wideopenwest.com [24.192.25.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id B8D32340AA1 for ; Thu, 14 Jan 2016 10:18:06 +0000 (UTC) From: Mike Gilbert To: linux-btrfs@vger.kernel.org Subject: [PATCH] btrfs-progs: Use AC_CHECK_TOOL to find AR Date: Thu, 14 Jan 2016 05:18:03 -0500 Message-Id: <1452766683-17982-1-git-send-email-floppym@gentoo.org> X-Mailer: git-send-email 2.7.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP AC_CHECK_TOOL takes the --host option into account for cross-compiling. Signed-off-by: Mike Gilbert --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])