From 8568ca2fb3a2f29edd0b9497af6470f0646c52d2 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sun, 18 Feb 2024 16:54:34 +1300 Subject: [PATCH] configure: rename error() to throw() --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f2e23fc..b49e800 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ present () { using () { printf "using $1\n" } -error () { +throw () { >&2 printf "$(basename $0): $1\n" exit 1 } @@ -34,7 +34,7 @@ gen_CC () { elif present gcc; then cc=gcc else - error "C compiler not found, please acquire a copy of LLVM Clang or the GNU C compiler" + throw "C compiler not found, please acquire a copy of LLVM Clang or the GNU C compiler" fi using "$cc"