From f6c28566026ff1b64e74142577522ab0583a5c1f Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sat, 24 Apr 2021 21:29:10 +0000
Subject: build system: allow projects to specify a default nickname.

---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index c1e0be5..4712b13 100755
--- a/configure
+++ b/configure
@@ -190,6 +190,10 @@ init_vars()
 		exit 1
 	fi
 
+	if [ -z "${NICKNAME}" ]; then
+		NICKNAME="$mb_nickname"
+	fi
+
 	# srcinfo
 	if [ -n "$SOURCE_DIR" ]; then
 		mb_source_dir_set=yes
-- 
cgit v1.2.3