mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
23 lines
663 B
Plaintext
23 lines
663 B
Plaintext
#serial 5
|
|
dnl Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
AC_DEFUN([gl_PAGEALIGN_ALLOC],
|
|
[
|
|
dnl Persuade glibc <sys/mman.h> to define MAP_ANONYMOUS.
|
|
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
|
|
|
AC_LIBOBJ([pagealign_alloc])
|
|
gl_PREREQ_PAGEALIGN_ALLOC
|
|
])
|
|
|
|
# Prerequisites of lib/pagealign_alloc.c.
|
|
AC_DEFUN([gl_PREREQ_PAGEALIGN_ALLOC],
|
|
[
|
|
AC_REQUIRE([gl_FUNC_MMAP_ANON])
|
|
AC_CHECK_FUNCS_ONCE([posix_memalign])
|
|
AC_CHECK_HEADERS_ONCE([unistd.h])
|
|
])
|