summaryrefslogtreecommitdiff
path: root/modules/aligned-malloc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-01-09 21:27:46 +0100
committerBruno Haible <bruno@clisp.org>2023-01-09 21:28:12 +0100
commit08f3133adeea1c0f1a57b7fb4e8489252d69d8e0 (patch)
tree8581c2784799312fe10073cc3c55b35cf8a16cb4 /modules/aligned-malloc
parentc5dbe0eaeaff25ab9bdf6e0ea873f054617a0e89 (diff)
downloadgnulib-08f3133adeea1c0f1a57b7fb4e8489252d69d8e0.tar.gz
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.
Diffstat (limited to 'modules/aligned-malloc')
-rw-r--r--modules/aligned-malloc3
1 files changed, 2 insertions, 1 deletions
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 <stdlib.h>]])
Makefile.am: