bug-gnulib
[Top][All Lists]
Advanced

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

aligned-malloc: Use fixes from the new modules


From: Bruno Haible
Subject: aligned-malloc: Use fixes from the new modules
Date: Wed, 04 Nov 2020 02:36:00 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; )

With this, aligned-malloc can be made more robust.


2020-11-03  Bruno Haible  <bruno@clisp.org>

        aligned-malloc: Use fixes from the new modules.
        * modules/aligned-malloc (Depends-on): Add posix_memalign,
        aligned_alloc, memalign.
        (configure.ac): Use AC_CHECK_FUNCS_ONCE.

diff --git a/modules/aligned-malloc b/modules/aligned-malloc
index d562e3d..0180695 100644
--- a/modules/aligned-malloc
+++ b/modules/aligned-malloc
@@ -7,11 +7,14 @@ m4/malloc-align.m4
 
 Depends-on:
 stdint
+posix_memalign
+aligned_alloc
+memalign
 
 configure.ac:
 gl_MALLOC_ALIGNMENT
 AC_REQUIRE([AC_C_INLINE])
-AC_CHECK_FUNCS([posix_memalign aligned_alloc memalign])
+AC_CHECK_FUNCS_ONCE([posix_memalign aligned_alloc memalign])
 
 Makefile.am:
 




reply via email to

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