Skip to content

Commit

Permalink
njs (lowercase) is more preferred way to mention
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-zelenkov committed Apr 10, 2024
1 parent d494d2e commit e6d8fc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion auto/help
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cat << END

--openssl enable OpenSSL library usage

--njs enable NJS library usage
--njs enable njs library usage

--debug enable debug logging

Expand Down
6 changes: 3 additions & 3 deletions auto/njs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ else
NXT_NJS_LIBS="-lnjs"
fi

nxt_feature="NJS"
nxt_feature="njs"
nxt_feature_name=NXT_HAVE_NJS
nxt_feature_run=no
nxt_feature_incs="$NXT_NJS_CFLAGS $NXT_NJS_AUX_CFLAGS"
nxt_feature_libs="$NXT_NJS_LIBS $NXT_NJS_AUX_LIBS"
nxt_feature_test="#include <njs.h>

#if NJS_VERSION_NUMBER < 0x000803
# error NJS < 0.8.3 is not supported.
# error njs < 0.8.3 is not supported.
#endif

int main(void) {
Expand All @@ -44,7 +44,7 @@ nxt_feature_test="#include <njs.h>

if [ $nxt_found = no ]; then
$echo
$echo $0: error: no NJS library \>= 0.8.3 found.
$echo $0: error: no njs library \>= 0.8.3 found.
$echo
exit 1;
fi
Expand Down
2 changes: 1 addition & 1 deletion auto/summary
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Unit configuration summary:
Unix domain sockets support: $NXT_UNIX_DOMAIN
TLS support: ............... $NXT_OPENSSL
Regex support: ............. $NXT_REGEX
NJS support: ............... $NXT_NJS
njs support: ............... $NXT_NJS

process isolation: ......... $NXT_ISOLATION
cgroupv2: .................. $NXT_HAVE_CGROUP
Expand Down

0 comments on commit e6d8fc6

Please sign in to comment.