Makefile: Automatically update config.h if configure changed.
diff --git a/Makefile.in b/Makefile.in
index 80002a2..085fb3c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -70,6 +70,10 @@
config.status: configure
@./config.status --recheck
+include/config.h: include/stamp-h
+include/stamp-h: include/config.h.in config.status
+ @./config.status include/config.h include/stamp-h
+
wine: $(WINEWRAPPER)
$(RM) $@ && $(LN_S) $(WINEWRAPPER) $@
@@ -114,7 +118,7 @@
$(TESTSUBDIRS:%=%/__test__) \
$(TESTSUBDIRS:%=%/__testclean__)
-depend $(RECURSE_TARGETS): $(MAKEDEP)
+depend $(RECURSE_TARGETS): $(MAKEDEP) include/config.h
$(MAKEDEP):
@cd $(TOOLSDIR)/tools && $(MAKE) makedep
@@ -139,7 +143,7 @@
$(RM) wine
distclean:: clean
- $(RM) config.* configure.lineno TAGS tags include/config.h
+ $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h
$(RM) -r autom4te.cache
.PHONY: manpages htmlpages sgmlpages distclean