makefiles: Attempt to automatically run make depend when reading an updated makefile.
diff --git a/configure.ac b/configure.ac
index 229cecd..0c1322a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1459,6 +1459,11 @@
 
 AC_SUBST(DEPENDENCIES,"### Dependencies:
 
+.INIT: Makefile
+.BEGIN: Makefile
+Makefile: dummy
+	-\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
+
 \$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)")