From: Bruno Haible Date: Sun, 25 Oct 2020 17:16:10 +0000 (+0100) Subject: ssfmalloc tests: Portability to Minix. X-Git-Tag: v1.0~3547 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4b52185214e9bd28026df2e1694191f2f8abe3f1;p=gnulib.git ssfmalloc tests: Portability to Minix. * modules/ssfmalloc-tests (Files): Add m4/mmap-anon.m4. (configure.ac): Invoke gl_FUNC_MMAP_ANON. * m4/mmap-anon.m4: Update comment. --- diff --git a/ChangeLog b/ChangeLog index 32b5e0ed38..26ba40cde2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2020-10-25 Bruno Haible + ssfmalloc tests: Portability to Minix. + * modules/ssfmalloc-tests (Files): Add m4/mmap-anon.m4. + (configure.ac): Invoke gl_FUNC_MMAP_ANON. + * m4/mmap-anon.m4: Update comment. + ssfmalloc: Portability to AIX. * modules/ssfmalloc (Include): Add ssfmalloc.h. (Link): New section. diff --git a/m4/mmap-anon.m4 b/m4/mmap-anon.m4 index d5c69df8e4..2995ad555d 100644 --- a/m4/mmap-anon.m4 +++ b/m4/mmap-anon.m4 @@ -1,4 +1,4 @@ -# mmap-anon.m4 serial 10 +# mmap-anon.m4 serial 11 dnl Copyright (C) 2005, 2007, 2009-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -9,7 +9,7 @@ dnl with or without modifications, as long as this notice is preserved. # - On Linux, AIX, OSF/1, Solaris, Cygwin, Interix, Haiku, both MAP_ANONYMOUS # and MAP_ANON exist and have the same value. # - On HP-UX, only MAP_ANONYMOUS exists. -# - On Mac OS X, FreeBSD, NetBSD, OpenBSD, only MAP_ANON exists. +# - On Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, only MAP_ANON exists. # - On IRIX, neither exists, and a file descriptor opened to /dev/zero must be # used. diff --git a/modules/ssfmalloc-tests b/modules/ssfmalloc-tests index c1994f1122..5e35fe4833 100644 --- a/modules/ssfmalloc-tests +++ b/modules/ssfmalloc-tests @@ -1,10 +1,12 @@ Files: tests/test-ssfmalloc.c tests/macros.h +m4/mmap-anon.m4 Depends-on: configure.ac: +gl_FUNC_MMAP_ANON Makefile.am: TESTS += test-ssfmalloc