X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fpagealign_alloc.m4;h=6fafef2099fe54ddb5f9c82a8ae9f43412b4e281;hb=5be230d9158e5aa42852fe06ea00f8052eff2e39;hp=2f0cac453761ea5e431f0134bc8853397621de66;hpb=c49424557579cb46914ba4f080720d8b94abab39;p=gnulib.git diff --git a/m4/pagealign_alloc.m4 b/m4/pagealign_alloc.m4 index 2f0cac453..6fafef209 100644 --- a/m4/pagealign_alloc.m4 +++ b/m4/pagealign_alloc.m4 @@ -1,5 +1,5 @@ -# pagealign_alloc.m4 serial 1 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 3 +dnl Copyright (C) 2005, 2006 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. @@ -9,7 +9,6 @@ AC_DEFUN([gl_PAGEALIGN_ALLOC], dnl Persuade glibc to define MAP_ANONYMOUS. AC_REQUIRE([AC_GNU_SOURCE]) - AC_LIBSOURCE([pagealign_alloc.h]) AC_LIBOBJ([pagealign_alloc]) gl_PREREQ_PAGEALIGN_ALLOC ]) @@ -17,8 +16,8 @@ AC_DEFUN([gl_PAGEALIGN_ALLOC], # Prerequisites of lib/pagealign_alloc.c. AC_DEFUN([gl_PREREQ_PAGEALIGN_ALLOC], [ - AC_REQUIRE([gl_FUNC_MMAP]) + AC_REQUIRE([gl_FUNC_MMAP_ANON]) AC_REQUIRE([gl_GETPAGESIZE]) AC_CHECK_FUNCS_ONCE([posix_memalign]) - AC_CHECK_HEADERS_ONCE([fcntl.h unistd.h]) + AC_CHECK_HEADERS_ONCE([unistd.h]) ])