Eric Blake wrote: > > 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.
Yes. And (question to Roman): what the proper place to change, so that gl_INIT() contains AC_REQUIRE([AC_PROG_GREP]) ? Hint: The answer is contained in this part of the Gnulib documentation: https://www.gnu.org/software/gnulib/manual/html_node/Writing-modules.html Bruno