-#! /bin/sh
+#!/bin/sh
+#
+# SPDX-License-Identifier: LGPL-2.1-only
+#
+# SPDX-FileCopyrightText: 2022 EfficiOS Inc.
set -x
-if [ ! -e config ]; then
+if [ ! -d "config" ]; then
mkdir config
fi
-if [ ! -e m4 ]; then
- mkdir m4
-fi
-
-autoreconf
+autoreconf -vif -W all,error