From: Alan T. DeKok Date: Tue, 8 Oct 2019 22:20:04 +0000 (-0400) Subject: print warnings only when asked. Fixes #3032 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9d941a184fa88518b02cb7c8bb3d7cf07558272;p=thirdparty%2Ffreeradius-server.git print warnings only when asked. Fixes #3032 It will now ignore warnings in normal builds, and only them when running: make check.configure this change is because we can't control the timestamps on the `configure` and `configure.ac` files on `git clone` or `git checkout`. The `git` program may write one file before another, and not necessarily in any order we would like. Since we can't fix that, we just suppress the warnings. --- diff --git a/src/modules/all.mk b/src/modules/all.mk index 573f41b4fe3..c2e9519b639 100644 --- a/src/modules/all.mk +++ b/src/modules/all.mk @@ -21,7 +21,7 @@ NEEDS_CONFIG := $(patsubst %.in,%,$(foreach file,$(SUBMAKEFILES),$(wildcard $(fi SUBMAKEFILES := $(sort $(SUBMAKEFILES) $(NEEDS_CONFIG)) endif -ifneq "$(MAKECMDGOALS)" "reconfig" +ifeq "$(MAKECMDGOALS)" "check.configure" src/modules/%/configure: src/modules/%/configure.ac @echo WARNING - may need "'make reconfig'" for AUTOCONF $(dir $@) endif