changeset 15325:9c73c1ba1864

mmap-anon: do not use regular expressions inadvertently * m4/mmap-anon.m4: Remove trailing period from strings sought in the output.
author Paolo Bonzini <pbonzini@redhat.com>
date Tue, 28 Jun 2011 16:46:39 +0200
parents 04f6eb9c0c53
children 52719068f9c2
files ChangeLog m4/mmap-anon.m4
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jun 25 14:23:56 2011 -0700
+++ b/ChangeLog	Tue Jun 28 16:46:39 2011 +0200
@@ -1,3 +1,9 @@
+2011-06-27  Paolo Bonzini  <bonzini@gnu.org>
+
+	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  <eggert@cs.ucla.edu>
 
 	nanosleep: fix integer overflow problem
--- a/m4/mmap-anon.m4	Sat Jun 25 14:23:56 2011 -0700
+++ b/m4/mmap-anon.m4	Tue Jun 28 16:46:39 2011 +0200
@@ -27,18 +27,18 @@
   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 <sys/mman.h>
 #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 <sys/mman.h>
 #ifdef MAP_ANON
-    I cant identify this map.
+    I cant identify this map
 #endif
 ],
         [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],