-#! /bin/sh
+#!/bin/sh
+#
+# SPDX-License-Identifier: LGPL-2.1-only
set -x
-if [ ! -e config ]; then
+if [ ! -d "config" ]; then
mkdir config
fi
-aclocal
-libtoolize --force --copy
-automake --add-missing --copy
-autoconf
+autoreconf -vi -W all,error