From 7293142804d9e432cda75b24e7987b55640bcaab Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Mon, 20 Sep 2021 22:07:05 +0100 Subject: [PATCH] autoconf: add wrapper script This adds a 'autogen.sh' wrapper script for generating configure. README.portable is also updated accordingly. --- README.portable | 4 ++-- autogen.sh | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 autogen.sh diff --git a/README.portable b/README.portable index c45f4472..7a3db489 100644 --- a/README.portable +++ b/README.portable @@ -26,7 +26,7 @@ also be installed. INSTALLATION ============ - $ autoreconf -i + $ ./autogen.sh $ ./configure && make $ sudo make install @@ -43,6 +43,6 @@ CONTACT ======= Thomas Adam -thomas_adam (#gameoftrees on irc.freenode.net) +thomas_adam (#gameoftrees on irc.libera.chat) [1] https://gameoftrees.org diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 00000000..78546787 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +die() +{ + echo "$@" >&2 + exit $2 +} + +autoreconf -f -i -v || die "autoreconf failed" $? -- 2.11.4.GIT