From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 429 invoked by alias); 26 Aug 2014 23:28:03 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 32653 invoked by uid 89); 26 Aug 2014 23:28:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f49.google.com Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 26 Aug 2014 23:28:02 +0000 Received: by mail-wg0-f49.google.com with SMTP id k14so15438715wgh.32 for ; Tue, 26 Aug 2014 16:27:59 -0700 (PDT) X-Received: by 10.180.106.6 with SMTP id gq6mr25217215wib.5.1409095679351; Tue, 26 Aug 2014 16:27:59 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id pk9sm12035179wjb.16.2014.08.26.16.27.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Aug 2014 16:27:58 -0700 (PDT) From: "Yann E. MORIN" To: crossgcc@sourceware.org Cc: "Yann E. MORIN" , Fabian Freyer Subject: [PATCH 2/3] configure: add option to specify grep Date: Tue, 26 Aug 2014 23:28:00 -0000 Message-Id: In-Reply-To: References: X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00035.txt.bz2 Allows users for which GNU grep is not the default grep (e.g. BSD folks), or is in a weird location. Reported-by: Fabian Freyer Signed-off-by: "Yann E. MORIN" Cc: Fabian Freyer --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index f8c67be..9899a3b 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,11 @@ AC_ARG_WITH([install], [Specify the full PATH to a BSD-compatible install]), [INSTALL=$withval]) AC_PROG_INSTALL +AC_CACHE_VAL([ac_cv_path_GREP], + [AC_ARG_WITH([grep], + AS_HELP_STRING([--with-grep=PATH], + [Specify the full PATH to GNU grep]), + [ac_cv_path_GREP=$withval])]) AC_PROG_GREP AC_PROG_EGREP AS_IF( -- 1.9.1 -- For unsubscribe information see http://sourceware.org/lists.html#faq