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.mk

Does 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

Reply via email to