diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ac13c711..2dc037ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,6 +49,7 @@ VPATH/Debian:
     - contrib/spell-checker
     - export CFLAGS=$CFLAGS_DEFAULT
     - ./bootstrap --skip-po && touch .manywarnings
+    - autoreconf -fi
     - mkdir vpath && cd vpath
     - ../configure $CONFIGURE_BASE_FLAGS --cache-file ../cache/config.cache
     - make -j$(nproc)
@@ -87,6 +88,7 @@ OpenSSL/Debian:
     - cat /etc/hosts
     - alias make="make -j$(nproc)"
     - ./bootstrap --skip-po
+    - autoreconf -fi
     - ./configure $CONFIGURE_BASE_FLAGS --with-ssl=openssl
     - make syntax-check
     - make check
@@ -114,6 +116,7 @@ GnuTLS/Debian:
     - cat /etc/hosts
     - alias make="make -j$(nproc)"
     - ./bootstrap --skip-po
+    - autoreconf -fi
     - ./configure $CONFIGURE_BASE_FLAGS --with-ssl=gnutls
     - make syntax-check
     - make check
@@ -139,6 +142,7 @@ Minimal/Debian:
   script:
     - export CFLAGS=$CFLAGS_DEFAULT
     - ./bootstrap --skip-po
+    - autoreconf -fi
     - ./configure $CONFIGURE_BASE_FLAGS --cache-file ../cache/config.cache
       --disable-nls --without-ssl --enable-ipv6 --without-zlib --without-libiconv-prefix
       --disable-iri --disable-ntlm --disable-pcre --without-libpsl --without-libuuid
@@ -171,6 +175,7 @@ Sanitizers/Debian:
 #    - export CFLAGS="$CFLAGS_DEFAULT -Werror"
     - export CFLAGS="$CFLAGS_DEFAULT"
     - ./bootstrap --skip-po && touch .manywarnings
+    - autoreconf -fi
     - export CC="ccache clang"
     - export UBSAN_OPTIONS=print_stacktrace=1
     - export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-8/bin/llvm-symbolizer
@@ -197,6 +202,7 @@ Scan-Build/Debian:
   script:
     - export CFLAGS=$CFLAGS_DEFAULT
     - ./bootstrap --skip-po
+    - autoreconf -fi
     - scan-build ./configure $CONFIGURE_BASE_FLAGS
     - make -C lib -j$(nproc)
     - scan-build -v -enable-checker nullability --status-bugs -o scan-build make -j$(nproc)
@@ -219,6 +225,7 @@ Valgrind/Debian:
   script:
     - export CFLAGS=$CFLAGS_DEFAULT
     - ./bootstrap --skip-po
+    - autoreconf -fi
     - ./configure $CONFIGURE_BASE_FLAGS --enable-valgrind-tests
     - make -j$(nproc)
     - make check -j$(nproc)
@@ -245,6 +252,7 @@ Simple/Fedora:
 #    - export CFLAGS="$CFLAGS_DEFAULT -Werror"
     - export CFLAGS="$CFLAGS_DEFAULT"
     - ./bootstrap --skip-po && touch .manywarnings
+    - autoreconf -fi
     - ./configure $CONFIGURE_BASE_FLAGS
     - make -j$(nproc) check
   tags:
@@ -290,6 +298,7 @@ pages:
   script:
     - mkdir -p public
     - ./bootstrap --skip-po
+    - autoreconf -fi
     - export CFLAGS="$CFLAGS_DEFAULT"
     - ./configure $CONFIGURE_BASE_FLAGS
     - make -j$(nproc) check-coverage
@@ -330,6 +339,7 @@ MinGW64:
     - mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &&
       echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
     - ./bootstrap --skip-po
+    - autoreconf -fi
 #    - cp pthread_sigmask.c.mingw lib/pthread_sigmask.c
     - export CC="ccache $PREFIX-gcc"
     - export GCCLIB=$(dirname $(find /usr/lib/gcc/$PREFIX -name libgcc_s_seh-1.dll|grep posix))