]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't automatically regenerate 'configure'
authorAlan T. DeKok <aland@freeradius.org>
Tue, 28 Nov 2017 16:07:29 +0000 (11:07 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 28 Nov 2017 16:07:59 +0000 (11:07 -0500)
instead, warn about it.  And tell the developer to run
'make reconfig'

src/modules/all.mk

index c6382dbd745fd0a7849e4b4cb6af97b066167aec..573f41b4fe38dff09091fb042e7e98943ba6f93e 100644 (file)
@@ -21,6 +21,7 @@ NEEDS_CONFIG := $(patsubst %.in,%,$(foreach file,$(SUBMAKEFILES),$(wildcard $(fi
 SUBMAKEFILES := $(sort $(SUBMAKEFILES) $(NEEDS_CONFIG))
 endif
 
+ifneq "$(MAKECMDGOALS)" "reconfig"
 src/modules/%/configure: src/modules/%/configure.ac
-       @echo AUTOCONF $(dir $@)
-       cd $(dir $@) && $(AUTOCONF) -I $(top_builddir) -I $(top_builddir)/m4 -I $(top_builddir)/$(dir $@)m4
+       @echo WARNING - may need "'make reconfig'" for AUTOCONF $(dir $@)
+endif