|
From: | Eric Blake |
Subject: | Re: [PATCH 2/2] maint.mk: Replace grep with $(GREP) |
Date: | Tue, 27 Nov 2018 12:27:16 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
On 11/27/18 12:21 PM, Bruno Haible wrote:
Roman Bolshakov wrote:Autoconf can discover an alias for GNU grep and set it in GREP but it takes no effect for maint.mkDoes Automake always invoke this Autoconf macro which sets GREP? In other words, can you guarantee that $(GREP) will never expand to empty?
If we change gl_INIT() to AC_REQUIRE([AC_PROG_GREP]), then that should be sufficient to ensure $(GREP) is set by the time Makefile is parsed, which in turn will propagate to maint.mk.
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |