From cf5337395cd4c9f77c5f3ff0b33055c9449974ef Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 29 Nov 2011 23:41:30 +0100 Subject: [PATCH] Rerun autoconf. --- configure | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ef8f9751..8ce7eb52 100755 --- a/configure +++ b/configure @@ -1375,7 +1375,7 @@ Optional Packages: --with-custom-version=NAME Custom version branding. --with-nicklen=LENGTH Set the upper-bound nick length to LENGTH (default - 50, max 50) + 31, max 50) --with-topiclen=NUMBER Set the max topic length to NUMBER (default 390, max 390) @@ -7908,16 +7908,20 @@ if test "${with_nicklen+set}" = set; then : if ! expr "$withval" + 0 >/dev/null 2>&1; then as_fn_error $? "NICKLEN must be a numeric value" "$LINENO" 5 fi - if test $withval -ge 50; then + if test $withval -gt 50; then NICKLEN=50 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&5 $as_echo "$as_me: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&2;} + elif test $withval -lt 9; then + NICKLEN=9 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&5 +$as_echo "$as_me: WARNING: NICKLEN has a lower limit of 9. Setting NICKLEN=9" >&2;} else NICKLEN="$withval" fi else - NICKLEN=50 + NICKLEN=31 fi