summaryrefslogtreecommitdiff
path: root/www/unit/files/patch-auto_njs
blob: a4cbc6ec8d3c0aa2c2116d7791a6a0bb6e75c961 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- auto/njs.orig	2025-02-27 22:02:21 UTC
+++ auto/njs
@@ -25,8 +25,8 @@ nxt_feature_test="#include <njs.h>
 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.
+                  #if NJS_VERSION_NUMBER < 0x000900
+                  # error njs < 0.9.0 is not supported.
                   #endif

                   int main(void) {
@@ -44,7 +44,7 @@ if [ $nxt_found = no ]; then

 if [ $nxt_found = no ]; then
     $echo
-    $echo $0: error: no njs library \>= 0.8.3 found.
+    $echo $0: error: no njs library \>= 0.9.0 found.
     $echo
     exit 1;
 fi