From: Bruno Haible Date: Wed, 4 Nov 2020 01:34:06 +0000 (+0100) Subject: aligned-malloc: Use fixes from the new modules. X-Git-Tag: v1.0~3528 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=822e1fc22e339f406afd1b382431ee29afb4e8f7;p=gnulib.git 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/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: