diff --git a/src/post_modules/Makefile.in b/src/post_modules/Makefile.in
index a2cb35818a1d9e4a55dd9727686ae00d34c0be8e..f285a83e99db6d682cd47faea5f93d7868fb8045 100644
--- a/src/post_modules/Makefile.in
+++ b/src/post_modules/Makefile.in
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.5 2001/09/01 15:20:08 mast Exp $
+# $Id: Makefile.in,v 1.6 2002/01/27 17:51:27 mast Exp $
 
 @make_variables@
 
@@ -16,10 +16,10 @@ force:
 $(MODULES) no : force
 	@if [ "$@" = "no" ]; then :; else \
 	  echo Making $@; \
-	  ( cd $@; \
-	    rm remake >/dev/null 2>&1 || : ; \
-	    $(MAKE) $(MAKE_FLAGS) MODNAME=$@ || \
-	      ( test -f remake && $(MAKE) $(MAKE_FLAGS) MODNAME=$@ ) \
+	  ( cd $@ && \
+	    (  rm remake >/dev/null 2>&1 || : ) && \
+	    ( $(MAKE) $(MAKE_FLAGS) MODNAME=$@ || \
+	      ( test -f remake && $(MAKE) $(MAKE_FLAGS) MODNAME=$@ ) ) \
 	  ) || exit $$?; \
 	fi
 
@@ -54,8 +54,14 @@ Makefile: $(SRCDIR)/Makefile.in $(SRCDIR)/dependencies ./config.status
 	@echo "Run make again" >&2
 	@exit 1
 
+$(SRCDIR)/configure: $(SRCDIR)/configure.in $(SRCDIR)/../aclocal.m4
+	cd $(SRCDIR) && autoconf --localdir=$(SRCDIR)/..
+
+config.status: $(SRCDIR)/configure
+	CFLAGS="$(REAL_CFLAGS)" LDFLAGS="$(REAL_LDFLAGS)" CPPFLAGS="$(REAL_CPPFLAGS)" BUILDDIR="$(TMP_BUILDDIR)" BINDIR="$(TMP_BINDIR)" ./config.status --recheck
+
 depend:
-	@for a in $(MODULES) ; do \
+	@for a in $(MODULES) no ; do \
 	  if test "$$a" = "no"; then :; else \
 	    ( cd $$a && { \
 	      rm -f remake; \
@@ -110,14 +116,14 @@ fdtestsuites:
 testsuites:
 	@for a in $(MODULES) no ; do \
 	  if [ "$$a" = "no" ]; then :; else \
-	    (cd $$a; make module_testsuite) ; \
+	    (cd $$a && $(MAKE) module_testsuite) ; \
 	  fi; \
 	done
 
 extra_tests:
 	@for a in $(MODULES) no ; do \
 	  if [ "$$a" = "no" ]; then :; else \
-	    ( cd $$a ; \
+	    ( cd $$a && \
 	      ${MAKE} $(MAKE_FLAGS) MODNAME=$$a extra_tests \
 	    ) || exit $$? ; \
 	  fi; \