From: Bruno Haible Date: Thu, 31 Oct 2024 11:13:17 +0000 (+0100) Subject: posix_memalign: Fix configure test (regression yesterday). X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=0e55c62671fb07a778014ea9cafc2eb5b2e20f3b;p=gnulib.git posix_memalign: Fix configure test (regression yesterday). * m4/posix_memalign.m4 (gl_FUNC_POSIX_MEMALIGN): Fix typo in comment. Fix variable name. --- diff --git a/ChangeLog b/ChangeLog index a603040997..9b1feff562 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-10-31 Bruno Haible + + 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 aligned_alloc: Fix comment. diff --git a/m4/posix_memalign.m4 b/m4/posix_memalign.m4 index 37c40a528d..e2ffb9da24 100644 --- a/m4/posix_memalign.m4 +++ b/m4/posix_memalign.m4 @@ -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 /* 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" ;;