modified: myjupyterlab.sh
[GalaxyCodeBases.git] / c_cpp / lib / gnulib / m4 / pagealign_alloc.m4
blobe0796b5eaa535b8abbfd3182d1c385c5980adb6a
1 #serial 6
2 dnl Copyright (C) 2005-2007, 2009-2015 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_PAGEALIGN_ALLOC],
9   dnl Persuade glibc <sys/mman.h> to define MAP_ANONYMOUS.
10   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
12   gl_PREREQ_PAGEALIGN_ALLOC
15 # Prerequisites of lib/pagealign_alloc.c.
16 AC_DEFUN([gl_PREREQ_PAGEALIGN_ALLOC],
18   AC_REQUIRE([gl_FUNC_MMAP_ANON])
19   AC_CHECK_FUNCS_ONCE([posix_memalign])
20   AC_CHECK_HEADERS_ONCE([unistd.h])