[njs] Report libxml2 used for build.

Konstantin Pavlov thresh at nginx.com
Tue Jan 31 00:52:46 UTC 2023


details:   https://hg.nginx.org/njs/rev/cba6c332ef5a
branches:  
changeset: 2031:cba6c332ef5a
user:      Konstantin Pavlov <thresh at nginx.com>
date:      Fri Jan 27 15:19:38 2023 -0800
description:
Report libxml2 used for build.

diffstat:

 auto/libxml2 |  2 ++
 auto/summary |  4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (33 lines):

diff -r c789bb7313d4 -r cba6c332ef5a auto/libxml2
--- a/auto/libxml2	Fri Jan 27 15:10:57 2023 -0800
+++ b/auto/libxml2	Fri Jan 27 15:19:38 2023 -0800
@@ -2,6 +2,7 @@
 # Copyright (C) Dmitry Volyntsev
 # Copyright (C) NGINX, Inc.
 
+NJS_LIBXML2_LIB=
 NJS_HAVE_LIBXML2=NO
 
 if [ $NJS_LIBXML2 = YES ]; then
@@ -87,6 +88,7 @@ if [ $NJS_LIBXML2 = YES ]; then
         . auto/feature
 
         NJS_HAVE_LIBXML2=YES
+        NJS_LIBXML2_LIB="$njs_feature_libs"
         NJS_LIB_INCS="$NJS_LIB_INCS $njs_feature_incs"
         NJS_LIB_AUX_LIBS="$NJS_LIB_AUX_LIBS $njs_feature_libs"
     fi
diff -r c789bb7313d4 -r cba6c332ef5a auto/summary
--- a/auto/summary	Fri Jan 27 15:10:57 2023 -0800
+++ b/auto/summary	Fri Jan 27 15:19:38 2023 -0800
@@ -22,6 +22,10 @@ if [ $NJS_HAVE_OPENSSL = YES ]; then
   echo " + using OpenSSL library: $NJS_OPENSSL_LIB"
 fi
 
+if [ $NJS_HAVE_LIBXML2 = YES ]; then
+  echo " + using libxml2 library: $NJS_LIBXML2_LIB"
+fi
+
 if [ $NJS_HAVE_COMPUTED_GOTO = YES ]; then
   echo " + using computed goto"
 fi


More information about the nginx-devel mailing list