X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fpagealign_alloc.m4;h=19b97380b3ffa2db23825a196a0549b54c05da1e;hb=c5728261c324a75f8d23dd7d10cb42dde9420227;hp=02ea3608ede33f52f7aeb7258914baf57990cee6;hpb=9ebe1e7519999eea5f0a51bd6c75bd0f161733d6;p=gnulib.git diff --git a/m4/pagealign_alloc.m4 b/m4/pagealign_alloc.m4 index 02ea3608e..19b97380b 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 5 +dnl Copyright (C) 2005, 2006, 2007, 2009, 2010 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,9 +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 +17,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([fcntl.h unistd.h]) + AC_CHECK_HEADERS_ONCE([unistd.h]) ])