From 52efd189471662c6303aa37def67bd77aabbb91c Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Thu, 18 Jul 2024 17:10:38 -0400 Subject: [PATCH] Improve protobuf test While I'm here update libre2 to re2. --- config | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/config b/config index c07f656..2f1da1e 100644 --- a/config +++ b/config @@ -119,7 +119,7 @@ END rm -rf $NGX_AUTOTEST* } -ngx_feature="libre2" +ngx_feature="re2" ngx_feature_name="" ngx_feature_run=no ngx_feature_incs="#include " @@ -133,7 +133,7 @@ if [ $ngx_found = no ]; then # FreeBSD port - ngx_feature="libre2 in /usr/local/" + ngx_feature="re2 in /usr/local/" ngx_feature_path="/usr/local/include" if [ $NGX_RPATH = YES ]; then @@ -190,14 +190,11 @@ fi ngx_feature="protobuf" ngx_feature_name="" ngx_feature_run=no -ngx_feature_incs="#include " +ngx_feature_incs="#include " ngx_feature_path="/usr/include" ngx_feature_libs="-lprotobuf" ngx_feature_test="using namespace google::protobuf; - google::protobuf::LogLevel logLevel; - const char* filename; - int line; - google::protobuf::internal::LogMessage(logLevel, filename, line);" + google::protobuf::internal::VersionString(0);" autocppfeature