From de3c8ac2ad1647cadd1c3fc0d582766511a67fe3 Mon Sep 17 00:00:00 2001 From: Epic Curious <109078515+epiccurious@users.noreply.github.com> Date: Tue, 13 Aug 2024 15:29:39 -0400 Subject: [PATCH 1/2] feat(build): add autoreconf dependency check --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autogen.sh b/autogen.sh index 65286b9353..1f175a9343 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,5 @@ #!/bin/sh set -e +command -v autoreconf >/dev/null || \ + (echo "configuration failed, please install autoconf first" >&2 && exit 1) autoreconf -if --warnings=all From fa50c90ae4fa15b2b6ed9f1fa9ba2ecc53fa37f3 Mon Sep 17 00:00:00 2001 From: Epic Curious <109078515+epiccurious@users.noreply.github.com> Date: Tue, 13 Aug 2024 15:35:35 -0400 Subject: [PATCH 2/2] refactor: use `--install --force` instead of `-if` --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 1f175a9343..286732257a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,4 +2,4 @@ set -e command -v autoreconf >/dev/null || \ (echo "configuration failed, please install autoconf first" >&2 && exit 1) -autoreconf -if --warnings=all +autoreconf --install --force --warnings=all