Accept lesser mmaps
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 15 Aug 2008 03:41:14 +0000 (03:41 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 15 Aug 2008 03:41:14 +0000 (03:41 +0000)
svn path=/trunk/; revision=7356

ChangeLog
configure.in

index 5835b6aec6bc5381d6789d9a9c77be5e66aa89f0..73740d83ffa45983c1604d43395ac7aebc1c553b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-14  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 547832 – gtk+-2.12.11 fails to build - AC_PROG_MMAP too strict,
+       and unnecessary
+
+       * configure.in: Be a little bit more forgiving when checking
+       for mmap. Patch by Peter O'Gorman
+
 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 547337 – G_DISABLE_DEPRECATED breaks tests build
index a2a43e97c979b96d5901b2a45cf58628d0283e1c..129f341ee462042e97a35d2ddef2ebf29e9d7f8a 100644 (file)
@@ -554,8 +554,8 @@ AC_HEADER_STDC
 
 # Checks for library functions.
 AC_FUNC_VPRINTF
-AC_FUNC_MMAP
 AC_FUNC_ALLOCA
+AC_CHECK_FUNCS(mmap)
 AC_CHECK_FUNCS(posix_memalign)
 AC_CHECK_FUNCS(memalign)
 AC_CHECK_FUNCS(valloc)