From: Bruno Haible Date: Mon, 9 Jan 2023 20:27:46 +0000 (+0100) Subject: aligned-malloc: Don't disturb the module aligned_alloc. X-Git-Tag: v1.0~1872 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=08f3133adeea1c0f1a57b7fb4e8489252d69d8e0;p=gnulib.git aligned-malloc: Don't disturb the module aligned_alloc. * modules/aligned-malloc (configure.ac): Test for aligned_alloc in the same way as module aligned_alloc does. --- diff --git a/ChangeLog b/ChangeLog index 3b2773fb48..7554f5ba03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-01-09 Bruno Haible + + aligned-malloc: Don't disturb the module aligned_alloc. + * modules/aligned-malloc (configure.ac): Test for aligned_alloc in the + same way as module aligned_alloc does. + 2023-01-09 Bruno Haible malloc-h: Improve portability. diff --git a/modules/aligned-malloc b/modules/aligned-malloc index 018069510f..1ef05d1b76 100644 --- a/modules/aligned-malloc +++ b/modules/aligned-malloc @@ -14,7 +14,8 @@ memalign configure.ac: gl_MALLOC_ALIGNMENT AC_REQUIRE([AC_C_INLINE]) -AC_CHECK_FUNCS_ONCE([posix_memalign aligned_alloc memalign]) +AC_CHECK_FUNCS_ONCE([posix_memalign memalign]) +gl_CHECK_FUNCS_ANDROID([aligned_alloc], [[#include ]]) Makefile.am: