]> git.kaiwu.me - njs.git/commitdiff
Modules: removed extra not needed QuickJS checks.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 19 Nov 2025 01:12:48 +0000 (17:12 -0800)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 20 Nov 2025 17:03:04 +0000 (09:03 -0800)
nginx/config

index 3386dac08dd97bda9d88ce6247802a7c60a3068b..9d16ddd4711b67686a85edaa148ce116c99461c2 100644 (file)
@@ -87,21 +87,6 @@ if [ $NJS_QUICKJS != NO ]; then
             exit 1;
         fi
 
-        ngx_feature="QuickJS JS_NewTypedArray()"
-        ngx_feature_name=NJS_HAVE_QUICKJS_NEW_TYPED_ARRAY
-        ngx_feature_test="JSValue argv;
-                         (void) JS_NewTypedArray(NULL, 1, &argv,
-                                                 JS_TYPED_ARRAY_UINT8);
-                          return 0;"
-
-        . auto/feature
-
-        ngx_feature="QuickJS JS_IsSameValue()"
-        ngx_feature_name=NJS_HAVE_QUICKJS_IS_SAME_VALUE
-        ngx_feature_test="(void) JS_IsSameValue(NULL, JS_UNDEFINED, JS_UNDEFINED);"
-
-        . auto/feature
-
         NJS_HAVE_QUICKJS=YES
         NJS_QUICKJS_LIB="$ngx_feature_libs"
         NJS_QUICKJS_INC=`echo "$ngx_feature_path" | sed -e "s|^$NJS_QUICKJS_DEFAULT_INCS||"`