You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2023/06/18 11:54:14 UTC

[tomcat-native] branch main updated: Improve quoting in tcnative.m4.

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

rjung 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 90576c5b0 Improve quoting in tcnative.m4.
90576c5b0 is described below

commit 90576c5b099f48583a95b30893123487d5a7fb45
Author: Rainer Jung <ra...@kippdata.de>
AuthorDate: Sun Jun 18 13:54:02 2023 +0200

    Improve quoting in tcnative.m4.
---
 native/build/tcnative.m4          | 6 +++---
 xdocs/miscellaneous/changelog.xml | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/native/build/tcnative.m4 b/native/build/tcnative.m4
index 3b80fb2c5..454bc8100 100644
--- a/native/build/tcnative.m4
+++ b/native/build/tcnative.m4
@@ -18,7 +18,7 @@
 dnl
 dnl TCN_FIND_APR: figure out where APR is located
 dnl
-AC_DEFUN(TCN_FIND_APR,[
+AC_DEFUN([TCN_FIND_APR],[
 
   dnl use the find_apr.m4 script to locate APR. sets apr_found and apr_config
   APR_FIND_APR(,,1,[1])
@@ -146,7 +146,7 @@ dnl Autoconf 2.50 can not handle substr correctly.  It does have
 dnl AS_HELP_STRING, so let's try to call it if we can.
 dnl Note: this define must be on one line so that it can be properly returned
 dnl as the help string.
-AC_DEFUN(TCN_HELP_STRING,[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AS_HELP_STRING($1,$2),[  ]$1 substr([                       ],len($1))$2)])dnl
+AC_DEFUN([TCN_HELP_STRING],[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AS_HELP_STRING($1,$2),[  ]$1 substr([                       ],len($1))$2)])dnl
 
 dnl
 dnl TCN_FIND_SSL_TOOLKIT
@@ -261,7 +261,7 @@ int main() {
 dnl
 dnl TCN_FIND_APR_FEATURE: figure out if APR feature is suipported
 dnl
-AC_DEFUN(TCN_FIND_APR_FEATURE,[
+AC_DEFUN([TCN_FIND_APR_FEATURE],[
   saved_cflags="$CFLAGS"
   saved_libs="$LIBS"
   CFLAGS="$CFLAGS $APR_INCLUDES"
diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml
index 74e92d221..353ffdfe0 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -33,6 +33,9 @@
 </section>
 <section name="Changes in 2.0.5">
   <changelog>
+    <update>
+      Improve quoting in tcnative.m4. (rjung)
+    </update>
     <update>
       Update the minimum version of autoconf for releasing to 2.68. (rjung)
     </update>


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