[njs] Configure: sorted options alphabetically in configure --help.

Dmitry Volyntsev xeioex at nginx.com
Fri Apr 5 01:38:38 UTC 2024


details:   https://hg.nginx.org/njs/rev/3a5b8b59cce9
branches:  
changeset: 2309:3a5b8b59cce9
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu Apr 04 16:07:37 2024 -0700
description:
Configure: sorted options alphabetically in configure --help.

diffstat:

 auto/help |  68 +++++++++++++++++++++++++++-----------------------------------
 1 files changed, 30 insertions(+), 38 deletions(-)

diffs (85 lines):

diff -r 2d6d9d1e8b8f -r 3a5b8b59cce9 auto/help
--- a/auto/help	Tue Apr 02 08:52:56 2024 -0700
+++ b/auto/help	Thu Apr 04 16:07:37 2024 -0700
@@ -7,46 +7,15 @@ cat << END
 
 ./configure options:
 
-  --cc=FILE                 set C compiler filename, default: "$CC"
-  --cc-opt=OPTIONS          set additional C compiler options, \
-default: "$NJS_CC_OPT"
-  --ld-opt=OPTIONS          set 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-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
-                            enabled zlib dependant code is not built as a
-                            part of libnjs.a.
-
+  --addr2line=YES           enables native function symbolization, \
+default: "$NJS_ADDR2LINE"
   --address-sanitizer=YES   enables build with address sanitizer, \
 default: "$NJS_ADDRESS_SANITIZER"
-  --addr2line=YES           enables native function symbolization, \
-default: "$NJS_ADDR2LINE"
+  --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"
   --debug=YES               enables additional runtime checks, \
 default: "$NJS_DEBUG"
   --debug-memory=YES        enables memory alloc debug, \
@@ -55,4 +24,27 @@ default: "$NJS_DEBUG_MEMORY"
 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"
+  --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-zlib                 disables zlib discovery. When this option is
+                            enabled zlib dependant code is not built as a
+                            part of libnjs.a.
 END


More information about the nginx-devel mailing list