From 0f247f994ecf88c40563c2d264536a1aa7634b33 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 28 Jun 2011 16:46:39 +0200 Subject: [PATCH] mmap-anon: do not use regular expressions inadvertently * m4/mmap-anon.m4: Remove trailing period from strings sought in the output. --- ChangeLog | 6 ++++++ m4/mmap-anon.m4 | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 846625820..4c88f8a01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-06-27 Paolo Bonzini + + mmap-anon: do not use regular expressions inadvertently + * m4/mmap-anon.m4: Remove trailing period from strings sought + in the output. + 2011-06-25 Paul Eggert nanosleep: fix integer overflow problem diff --git a/m4/mmap-anon.m4 b/m4/mmap-anon.m4 index 7ba7fd26b..952536feb 100644 --- a/m4/mmap-anon.m4 +++ b/m4/mmap-anon.m4 @@ -27,18 +27,18 @@ AC_DEFUN([gl_FUNC_MMAP_ANON], gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) - AC_EGREP_CPP([I cant identify this map.], [ + AC_EGREP_CPP([I cant identify this map], [ #include #ifdef MAP_ANONYMOUS - I cant identify this map. + I cant identify this map #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then - AC_EGREP_CPP([I cant identify this map.], [ + AC_EGREP_CPP([I cant identify this map], [ #include #ifdef MAP_ANON - I cant identify this map. + I cant identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], -- 2.11.0