From 822e1fc22e339f406afd1b382431ee29afb4e8f7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 4 Nov 2020 02:34:06 +0100 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ modules/aligned-malloc | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2c2a338b7c..dcd5baa2a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2020-11-03 Bruno Haible + + 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. + 2020-11-03 Bruno Haible aligned_alloc: Add tests. diff --git a/modules/aligned-malloc b/modules/aligned-malloc index d562e3d6b9..018069510f 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: -- 2.39.5