]> Savannah Git Hosting - gnulib.git/commitdiff
aligned_alloc: Fix test failure on OpenBSD 6.8.
authorBruno Haible <bruno@clisp.org>
Fri, 1 Jan 2021 22:04:52 +0000 (23:04 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 1 Jan 2021 22:04:52 +0000 (23:04 +0100)
* m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC): Require gl_USE_SYSTEM_EXTENSIONS.

ChangeLog
m4/aligned_alloc.m4

index 1981befb508b2da531fc7a44ac0ddb56a76c9edd..85b00990051960aafbf9ac78940ee822273cde0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,8 @@
        aligned_alloc: Fix test failure on OpenBSD 6.8.
        * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): On OpenBSD, define
        _ISOC11_SOURCE.
-       * m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC): Update comment.
+       * m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC): Require it. Update
+       comment.
 
 2021-01-01  Bruno Haible  <bruno@clisp.org>
 
index 54253edc47e2895b42b67af237c1833c9807b156..d547c8eb2dd5b25b09c9c68fe833642f41ee4a58 100644 (file)
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_ALIGNED_ALLOC],
   AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
 
   dnl Persuade glibc and OpenBSD <stdlib.h> to declare aligned_alloc().
-  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 
   AC_CHECK_FUNCS_ONCE([aligned_alloc])
   if test $ac_cv_func_aligned_alloc = yes; then