Fix a bug where «make davautocheck» immediately after configure failed hard
because of an unbuilt dependency.

The error message was:

    davautocheck.sh: dontdothat_module not found, please use '--enable-shared --with-apxs' with your 'configure' script

* Makefile.in
  (davcheck, davautocheck): Depend on mod_dontdothat, which is required by authz_tests.

Review by: dsahlberg
Thread: https://mail-archives.apache.org/mod_mbox/subversion-dev/202107.mbox/%3C20210716135352.GA2413%40tarpaulin.shahaf.local2%3E

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1891908 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/Makefile.in b/Makefile.in
index 314cb93..765435f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -638,12 +638,12 @@
 
 # First, set up Apache as documented in
 # subversion/tests/cmdline/README.
-davcheck: bin $(TEST_DEPS) @BDB_TEST_DEPS@ apache-mod
+davcheck: bin $(TEST_DEPS) @BDB_TEST_DEPS@ apache-mod mod_dontdothat
 	@$(MAKE) check BASE_URL=http://localhost
 
 # Automatically configure and run Apache httpd on a random port, and then
 # run make check.
-davautocheck: bin $(TEST_DEPS) @BDB_TEST_DEPS@ apache-mod
+davautocheck: bin $(TEST_DEPS) @BDB_TEST_DEPS@ apache-mod mod_dontdothat
 	@# Takes MODULE_PATH, USE_HTTPV1 and SVN_PATH_AUTHZ in the environment.
 	@APXS=$(APXS) MAKE=$(MAKE) $(SHELL) $(top_srcdir)/subversion/tests/cmdline/davautocheck.sh