From 8089c00979a5b089cff592c6b91420e595657167 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 6 Jan 2019 22:30:13 +0100 Subject: [PATCH] maintainer-makefile: Make the configure.ac section optional. * top/maint.mk (GREP, SED): Define if not defined. --- ChangeLog | 5 +++++ top/maint.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 464adec026..1849089052 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-01-06 Bruno Haible + + maintainer-makefile: Make the configure.ac section optional. + * top/maint.mk (GREP, SED): Define if not defined. + 2019-01-06 Bruno Haible localename: Assume setlocale function. diff --git a/top/maint.mk b/top/maint.mk index 4b574103a3..4e37efeb56 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -21,6 +21,12 @@ # ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) ME := maint.mk +# These variables ought to be defined through the configure.ac section +# of the module description. But some packages import this file directly, +# ignoring the module description. +GREP ?= grep +SED ?= sed + # Helper variables. _empty = _sp = $(_empty) $(_empty) -- 2.39.5