]> Savannah Git Hosting - gnulib.git/commitdiff
posix_memalign: Fix configure test (regression yesterday).
authorBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 11:13:17 +0000 (12:13 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 31 Oct 2024 11:13:17 +0000 (12:13 +0100)
* m4/posix_memalign.m4 (gl_FUNC_POSIX_MEMALIGN): Fix typo in comment.
Fix variable name.

ChangeLog
m4/posix_memalign.m4

index a6030409971f2f4618a2f0689a4406872d71d5e8..9b1feff562849de36af6b9a28870aa89ae9fd191 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-31  Bruno Haible  <bruno@clisp.org>
+
+       posix_memalign: Fix configure test (regression yesterday).
+       * m4/posix_memalign.m4 (gl_FUNC_POSIX_MEMALIGN): Fix typo in comment.
+       Fix variable name.
+
 2024-10-31  Bruno Haible  <bruno@clisp.org>
 
        aligned_alloc: Fix comment.
index 37c40a528d0a80a09a40bafe1cd9651cb805682c..e2ffb9da24a5df439ac9cc6eea715f87674e0699 100644 (file)
@@ -1,5 +1,5 @@
 # posix_memalign.m4
-# serial 5
+# serial 6
 dnl Copyright (C) 2020-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -26,7 +26,7 @@ AC_DEFUN([gl_FUNC_POSIX_MEMALIGN],
          [AC_LANG_PROGRAM(
             [[#include <stdlib.h>
               /* Use pposix_memalign to test; 'volatile' prevents the compiler
-                 from optimizing the malloc call away.  */
+                 from optimizing the posix_memalign call away.  */
               int (*volatile pposix_memalign) (void **, size_t, size_t)
                 = posix_memalign;]],
             [[void *p;
@@ -43,8 +43,8 @@ AC_DEFUN([gl_FUNC_POSIX_MEMALIGN],
          [gl_cv_func_posix_memalign_works=no],
          [case "$host_os" in
 changequote(,)dnl
-                     # Guess no on AIX.
-            aix*)    gl_cv_func_aligned_alloc_works="guessing no" ;;
+                      # Guess no on AIX.
+            aix*)     gl_cv_func_posix_memalign_works="guessing no" ;;
                       # Guess no on OpenBSD through 6.1.
             openbsd[1-5].* | openbsd6.[01] | openbsd6.[01].*)
                       gl_cv_func_posix_memalign_works="guessing no" ;;