This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/main by this push:
     new 49d1a3a5b Fix APR version check in M4 macro
49d1a3a5b is described below

commit 49d1a3a5baf3bd50a3d4761ceb96d3efa9c05159
Author: Michael Osipov <micha...@apache.org>
AuthorDate: Thu Apr 18 08:20:08 2024 +0200

    Fix APR version check in M4 macro
---
 native/build/tcnative.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/native/build/tcnative.m4 b/native/build/tcnative.m4
index 272eac47f..11789e5b5 100644
--- a/native/build/tcnative.m4
+++ b/native/build/tcnative.m4
@@ -38,9 +38,9 @@ AC_DEFUN([TCN_FIND_APR],[
   set $sapr_version
   IFS=$tc_save_IFS
   decimal_apr_version=`printf %02d%02d%03d ${1} ${2} ${3}`
-  if test "${decimal_apr_version}" -lt "0104003"
+  if test "${decimal_apr_version}" -lt "0107000"
   then
-    AC_MSG_ERROR(Found APR $sapr_version. You need version 1.4.3 or newer 
installed.)
+    AC_MSG_ERROR(Found APR $sapr_version. You need version 1.7.0 or newer 
installed.)
   fi
   AC_MSG_NOTICE(APR $sapr_version detected.)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to