X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fpagealign_alloc.m4;h=52b4db8d5392151505270c190be6b5e3dceae12f;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=b8cdfa96c107aa28441b0c8dc813624c5a409af5;hpb=e74d04a8682cb37afd40f7f7d55580e3e97b48ce;p=gnulib.git diff --git a/m4/pagealign_alloc.m4 b/m4/pagealign_alloc.m4 index b8cdfa96c..52b4db8d5 100644 --- a/m4/pagealign_alloc.m4 +++ b/m4/pagealign_alloc.m4 @@ -1,5 +1,5 @@ -#serial 2 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 6 +dnl Copyright (C) 2005-2007, 2009-2013 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. @@ -7,10 +7,8 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PAGEALIGN_ALLOC], [ dnl Persuade glibc to define MAP_ANONYMOUS. - AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) - AC_LIBSOURCE([pagealign_alloc.h]) - AC_LIBOBJ([pagealign_alloc]) gl_PREREQ_PAGEALIGN_ALLOC ]) @@ -18,7 +16,6 @@ AC_DEFUN([gl_PAGEALIGN_ALLOC], AC_DEFUN([gl_PREREQ_PAGEALIGN_ALLOC], [ AC_REQUIRE([gl_FUNC_MMAP_ANON]) - AC_REQUIRE([gl_GETPAGESIZE]) AC_CHECK_FUNCS_ONCE([posix_memalign]) AC_CHECK_HEADERS_ONCE([unistd.h]) ])