gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, master, updated. gawk-4.1.0-4851-g39657bcb


From: Arnold Robbins
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-4851-g39657bcb
Date: Thu, 11 Aug 2022 07:51:34 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, master has been updated
       via  39657bcb1042369fd63f9f1fb5c9f161b89e69ce (commit)
      from  4b1b9a159a1661ba399a642af72ad6f41eaca7d3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=39657bcb1042369fd63f9f1fb5c9f161b89e69ce

commit 39657bcb1042369fd63f9f1fb5c9f161b89e69ce
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Aug 11 14:51:11 2022 +0300

    Fix logic in m4/pma.m4.

diff --git a/configure b/configure
index 1121eb43..73eb41ee 100755
--- a/configure
+++ b/configure
@@ -12651,9 +12651,6 @@ fi
 
        if test $ac_cv_func_mmap = yes && test $ac_cv_func_munmap = yes
        then
-
-printf "%s\n" "#define USE_PERSISTENT_MALLOC 1" >>confdefs.h
-
                use_persistent_malloc=yes
                case $host_os in
                linux-*)
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 3c044267..6addbf1a 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-11         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * pma.m4: Logic fix. Don't define USE_PERSITENT_MALLOC until
+       after all the tests.
+
 2022-07-21         Arnold D. Robbins     <arnold@skeeve.com>
 
        * libtool.m4, ltoptions.m4, ltsugar.m4, ltversion.m4,
diff --git a/m4/pma.m4 b/m4/pma.m4
index cb87597a..452cc8c4 100644
--- a/m4/pma.m4
+++ b/m4/pma.m4
@@ -15,7 +15,6 @@ then
        AC_CHECK_FUNC([munmap])
        if test $ac_cv_func_mmap = yes && test $ac_cv_func_munmap = yes
        then
-               AC_DEFINE(USE_PERSISTENT_MALLOC, 1, [Define to 1 if we can use 
the pma allocator])
                use_persistent_malloc=yes
                case $host_os in
                linux-*)
@@ -50,3 +49,7 @@ then
 fi
 AM_CONDITIONAL([USE_PERSISTENT_MALLOC], [test "$use_persistent_malloc" = 
"yes"])
 ])
+if test "$use_persistent_malloc" = "yes"
+then
+       AC_DEFINE(USE_PERSISTENT_MALLOC, 1, [Define to 1 if we can use the pma 
allocator])
+fi

-----------------------------------------------------------------------

Summary of changes:
 configure    | 3 ---
 m4/ChangeLog | 5 +++++
 m4/pma.m4    | 5 ++++-
 3 files changed, 9 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]