 diff --git a/configure.in b/configure.in
-index b20aad0..eec5ba2 100644
+index 423d58d..4beea8c 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -725,7 +725,7 @@ AC_MSG_CHECKING([for Check to enable unit tests])
- if test "x$PKGCONFIG" != "x" && `$PKGCONFIG --atleast-version='0.9.12' check`; then
+@@ -769,7 +769,7 @@ AC_MSG_CHECKING([for Check to enable unit tests])
+ if test "x$PKGCONFIG" != "x" -a "$ap_reduced_exports" = "no" && `$PKGCONFIG --atleast-version='0.9.12' check`; then
    UNITTEST_CFLAGS=`$PKGCONFIG --cflags check`
    UNITTEST_LIBS=`$PKGCONFIG --libs check`
 -  other_targets="$other_targets test/httpdunit"

+make -j$(nproc)
+make install
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index c887056..1be2d16 100644
--- a/modules/generators/mod_autoindex.c
+++ b/modules/generators/mod_autoindex.c
@@ -1907,6 +1907,8 @@ static void output_directories(struct ent **ar, int n,

 {
     ap_conf_vector_t *now_merged = NULL;
diff --git a/server/util_pcre.c b/server/util_pcre.c
index fedf6e6..053eb77 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -390,6 +390,7 @@ AP_DECLARE(int) ap_regexec_len(const ap_regex_t *preg, const char *buff,
     }
 }
 
