]> Savannah Git Hosting - gnulib.git/commitdiff
ssfmalloc tests: Portability to Minix.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Oct 2020 17:16:10 +0000 (18:16 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Oct 2020 17:16:10 +0000 (18:16 +0100)
* modules/ssfmalloc-tests (Files): Add m4/mmap-anon.m4.
(configure.ac): Invoke gl_FUNC_MMAP_ANON.
* m4/mmap-anon.m4: Update comment.

ChangeLog
m4/mmap-anon.m4
modules/ssfmalloc-tests

index 32b5e0ed389ce516c206fb3bf8740d6950af499b..26ba40cde2d64bfad2500093159e7e8710038439 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2020-10-25  Bruno Haible  <bruno@clisp.org>
 
+       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.
index d5c69df8e4f5d8d42360bead02604c6cb9d763a7..2995ad555d16ec50ab199a81559be0e6d206e73d 100644 (file)
@@ -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.
 
index c1994f112268073b2aa9224f84d51b4567f8c84f..5e35fe48338829870c2233d69d1527a48cfc3cc3 100644 (file)
@@ -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