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 5835b6a..73740d8 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 a2a43e9..129f341 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)