From 58a29969da425eaf424946f4119e601545fb7a7e Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Mon, 10 Aug 2009 10:20:34 +0200 Subject: [PATCH] Require configure script to be older than aclocal.m4 and configure.in --- stepmake/stepmake/generic-targets.make | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index b98eb8c8c3..d950152108 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -164,9 +164,17 @@ $(config_make): $(top-src-dir)/configure @echo "************************************************************" @echo "configure changed! You should probably reconfigure manually." @echo "************************************************************" +# do something for multiple simultaneous configs. (cd $(top-build-dir); ./config.status) - touch $@ # do something for multiple simultaneous configs. + touch $@ +$(top-src-dir)/configure: $(top-src-dir)/configure.in \ + $(top-src-dir)/stepmake/aclocal.m4 + @echo "************************************************************" + @echo "configure.in and/or stepmake/aclocal.m4 changed!" + @echo "Please regenerate configure with autogen.sh." + @echo "************************************************************" + @false #### Documentation (website and tarball) -- 2.39.5