X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d7cff1d11ba8b6a5eb393911b8edda125b2f9bbb..564b19bf9a99483c892f276c3ceab7efda461fda:/configure diff --git a/configure b/configure index 0b455ab..2948c26 100755 --- a/configure +++ b/configure @@ -10785,6 +10785,11 @@ fi # Check whether --with-nicklen was given. if test "${with_nicklen+set}" = set; then withval=$with_nicklen; + if ! expr "$withval" + 0 >/dev/null 2>&1; then + { { echo "$as_me:$LINENO: error: NICKLEN must be a numeric value" >&5 +echo "$as_me: error: NICKLEN must be a numeric value" >&2;} + { (exit 1); exit 1; }; } + fi if test $withval -ge 50; then NICKLEN=50 { echo "$as_me:$LINENO: WARNING: NICKLEN has a hard limit of 50. Setting NICKLEN=50" >&5