]> Savannah Git Hosting - gnulib.git/commitdiff
immutable, get-rusage-data: Fix autoconf warning.
authorBruno Haible <bruno@clisp.org>
Sun, 17 Jan 2021 08:13:20 +0000 (09:13 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 17 Jan 2021 08:13:20 +0000 (09:13 +0100)
* m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Define through AC_DEFUN_ONCE.

ChangeLog
m4/mmap-anon.m4

index d52dca566b856749d64340a5c1a52b8fc0197f72..61d1e9836411eaf1ed44cb0e04af8de0243f43f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-17  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        vma-iter: Port to 64-bit Haiku.
index 5a9f968575f061bf71ac6aaba4c6d3bd5f2e0211..e47aa2d2f9022be5ac0453ebcafdc339520cb2ec 100644 (file)
@@ -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 <sys/mman.h> to define MAP_ANONYMOUS.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])