From c7710c141dd44bdc4029b5e8ab1aea3774e37527 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 17 Jan 2021 09:13:20 +0100 Subject: [PATCH] immutable, get-rusage-data: Fix autoconf warning. * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Define through AC_DEFUN_ONCE. --- ChangeLog | 5 +++++ m4/mmap-anon.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d52dca566b..61d1e98364 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-01-17 Bruno Haible + + immutable, get-rusage-data: Fix autoconf warning. + * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Define through AC_DEFUN_ONCE. + 2021-01-16 Bruno Haible vma-iter: Port to 64-bit Haiku. diff --git a/m4/mmap-anon.m4 b/m4/mmap-anon.m4 index 5a9f968575..e47aa2d2f9 100644 --- a/m4/mmap-anon.m4 +++ b/m4/mmap-anon.m4 @@ -1,4 +1,4 @@ -# mmap-anon.m4 serial 11 +# mmap-anon.m4 serial 12 dnl Copyright (C) 2005, 2007, 2009-2021 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -13,7 +13,7 @@ dnl with or without modifications, as long as this notice is preserved. # - On IRIX, neither exists, and a file descriptor opened to /dev/zero must be # used. -AC_DEFUN([gl_FUNC_MMAP_ANON], +AC_DEFUN_ONCE([gl_FUNC_MMAP_ANON], [ dnl Persuade glibc to define MAP_ANONYMOUS. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -- 2.39.5