mmap-anon: avoid out-of-order autoconf expansion
authorEric Blake <ebb9@byu.net>
Thu, 14 May 2009 02:38:30 +0000 (20:38 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 14 May 2009 02:39:18 +0000 (20:39 -0600)
* m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Use correct
SYSTEM_EXTENSIONS macro to silence warnings from autoconf 2.63b.
* modules/memchr-tests (Depends-on): Add extensions.
* modules/memchr2-tests (Depends-on): Add extensions.
* modules/memcmp-tests (Depends-on): Add extensions.
* modules/memmem-tests (Depends-on): Add extensions.
* modules/memrchr-tests (Depends-on): Add extensions.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
m4/mmap-anon.m4
modules/memchr-tests
modules/memchr2-tests
modules/memcmp-tests
modules/memmem-tests
modules/memrchr-tests

index e37b92a..dd0f0c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2009-05-13  Eric Blake  <ebb9@byu.net>
+
+       mmap-anon: avoid out-of-order autoconf expansion
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Use correct
+       SYSTEM_EXTENSIONS macro to silence warnings from autoconf 2.63b.
+       * modules/memchr-tests (Depends-on): Add extensions.
+       * modules/memchr2-tests (Depends-on): Add extensions.
+       * modules/memcmp-tests (Depends-on): Add extensions.
+       * modules/memmem-tests (Depends-on): Add extensions.
+       * modules/memrchr-tests (Depends-on): Add extensions.
+
 2009-05-13  Bruno Haible  <bruno@clisp.org>
 
        Make some tests ISO C 99 compliant.
index fe624a2..14b6270 100644 (file)
@@ -1,4 +1,4 @@
-# mmap-anon.m4 serial 7
+# mmap-anon.m4 serial 8
 dnl Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ AC_DEFUN([gl_FUNC_MMAP_ANON],
   AC_REQUIRE([AC_PROG_EGREP])
 
   dnl Persuade glibc <sys/mman.h> to define MAP_ANONYMOUS.
-  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 
   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
index 5ef506a..c99e557 100644 (file)
@@ -4,6 +4,7 @@ tests/zerosize-ptr.h
 m4/mmap-anon.m4
 
 Depends-on:
+extensions
 getpagesize
 
 configure.ac:
index 6056e2b..44d220c 100644 (file)
@@ -4,6 +4,7 @@ tests/zerosize-ptr.h
 m4/mmap-anon.m4
 
 Depends-on:
+extensions
 getpagesize
 
 configure.ac:
index df5b7eb..ae1cc38 100644 (file)
@@ -4,6 +4,7 @@ tests/zerosize-ptr.h
 m4/mmap-anon.m4
 
 Depends-on:
+extensions
 getpagesize
 
 configure.ac:
index e98932e..ff47e51 100644 (file)
@@ -4,6 +4,7 @@ tests/zerosize-ptr.h
 m4/mmap-anon.m4
 
 Depends-on:
+extensions
 getpagesize
 
 configure.ac:
index 282c570..4885fb1 100644 (file)
@@ -4,6 +4,7 @@ tests/zerosize-ptr.h
 m4/mmap-anon.m4
 
 Depends-on:
+extensions
 getpagesize
 
 configure.ac: