mmap-anon: do not use regular expressions inadvertently
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Jun 2011 14:46:39 +0000 (16:46 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Jun 2011 14:46:39 +0000 (16:46 +0200)
* m4/mmap-anon.m4: Remove trailing period from strings sought
in the output.

ChangeLog
m4/mmap-anon.m4

index 8466258..4c88f8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 7ba7fd2..952536f 100644 (file)
@@ -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 <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],