]> git.kaiwu.me - njs.git/commitdiff
Configure: sorted options alphabetically in configure --help.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 4 Apr 2024 23:07:37 +0000 (16:07 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 4 Apr 2024 23:07:37 +0000 (16:07 -0700)
auto/help

index 5452b279fefa615207494b9c2a6b5de1d36eb032..bf88458628cddfa8d6d9c78eb010c568d4ee39ad 100644 (file)
--- a/auto/help
+++ b/auto/help
@@ -7,52 +7,44 @@ cat << END
 
 ./configure options:
 
-  --cc=FILE                 set C compiler filename, default: "$CC"
-  --cc-opt=OPTIONS          set additional C compiler options, \
+  --addr2line=YES           enables native function symbolization, \
+default: "$NJS_ADDR2LINE"
+  --address-sanitizer=YES   enables build with address sanitizer, \
+default: "$NJS_ADDRESS_SANITIZER"
+  --ar=FILE                 sets static linking program, default: "$AR"
+  --build-dir=DIR           sets build directory, default: "$NJS_BUILD_DIR"
+  --cc=FILE                 sets C compiler filename, default: "$CC"
+  --cc-opt=OPTIONS          sets additional C compiler options, \
 default: "$NJS_CC_OPT"
-  --ld-opt=OPTIONS          set additional linker options, \
+  --debug=YES               enables additional runtime checks, \
+default: "$NJS_DEBUG"
+  --debug-memory=YES        enables memory alloc debug, \
+default: "$NJS_DEBUG_MEMORY"
+  --debug-opcode=YES        enables runtime function tracing, \
+default: "$NJS_DEBUG_OPCODE"
+  --debug-generator=YES     enables generator debug, \
+default: "$NJS_DEBUG_GENERATOR"
+  --ld-opt=OPTIONS          sets additional linker options, \
 default: "$NJS_LD_OPT"
-  --ar=FILE                 set static linking program, default: "$AR"
-
-  --build-dir=DIR           set build directory, default: "$NJS_BUILD_DIR"
-
+  --no-goto                 disables computed goto discovery.
+                            When this option is enabled 'switch' statement
+                            will be always used in instead of computed goto.
+  --no-libxml2              disables libxml2 discovery. When this option is
+                            enabled libxml2 dependant code is not built as a
+                            part of libnjs.a.
+  --no-openssl              disables OpenSSL discovery. When this option is
+                            enabled OpenSSL dependant code is not built as a
+                            part of libnjs.a.
   --no-pcre                 disables PCRE/PCRE2 discovery for RegExp
                             backend. This flag allows to build PCRE/PCRE2
                             outside of libnjs.a.  When this option is enabled
                             functions described in njs_regex.h are not built.
                             Instead this functions are expected to be provided
                             while linking.
-
   --no-pcre2                disables PCRE2 discovery for RegExp backend.
                             When this option is enabled only PCRE library
                             is discovered.
-
-  --no-goto                 disables computed goto discovery.
-                            When this option is enabled 'switch' statement
-                            will be always used in instead of computed goto.
-
-  --no-openssl              disables OpenSSL discovery. When this option is
-                            enabled OpenSSL dependant code is not built as a
-                            part of libnjs.a.
-
-  --no-libxml2              disabled libxml2 discovery. When this option is
-                            enabled libxml2 dependant code is not built as a
-                            part of libnjs.a.
-
-  --no-zlib                 disabled zlib discovery. When this option is
+  --no-zlib                 disables zlib discovery. When this option is
                             enabled zlib dependant code is not built as a
                             part of libnjs.a.
-
-  --address-sanitizer=YES   enables build with address sanitizer, \
-default: "$NJS_ADDRESS_SANITIZER"
-  --addr2line=YES           enables native function symbolization, \
-default: "$NJS_ADDR2LINE"
-  --debug=YES               enables additional runtime checks, \
-default: "$NJS_DEBUG"
-  --debug-memory=YES        enables memory alloc debug, \
-default: "$NJS_DEBUG_MEMORY"
-  --debug-opcode=YES        enables runtime function tracing, \
-default: "$NJS_DEBUG_OPCODE"
-  --debug-generator=YES     enables generator debug, \
-default: "$NJS_DEBUG_GENERATOR"
 END