AX_FUNC_POSIX_MEMALIGN
Some versions of posix_memalign (notably glibc 2.2.5) incorrectly apply their power-of-two check to the size argument, not the alignment argument. AX_FUNC_POSIX_MEMALIGN defines HAVE_POSIX_MEMALIGN if the power-of-two check is correctly applied to the alignment argument.
Download the latest version of ax_func_posix_memalign.m4 or browse the macro’s revision history.
Copyright © 2008 Scott Pakin pakin@uiuc.edu
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.