* aclocal.in ($serial_line_rx): Expect at least one space between
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 7 Feb 2005 10:01:08 +0000 (10:01 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 7 Feb 2005 10:01:08 +0000 (10:01 +0000)
`serial' and the following number.
Report from Jim Meyering.

ChangeLog
aclocal.in

index 73ad2c2..100dd11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * aclocal.in ($serial_line_rx): Expect at least one space between
+       `serial' and the following number.
+       Report from Jim Meyering.
+
        * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
        Report from Peter O'Gorman.
 
index c155c7c..ccbf2c0 100644 (file)
@@ -138,7 +138,7 @@ my $ac_require_rx = "AC_REQUIRE\\((?:\\[([^]]+)\\]|([^],)\n]+))\\)";
 my $m4_include_rx = "(?:m4_)?s?include\\((?:\\[([^]]+)\\]|([^],)\n]+))\\)";
 
 # Match a serial number
-my $serial_line_rx = '^#\s*serial\s*(\S*)';
+my $serial_line_rx = '^#\s*serial\s+(\S*)';
 my $serial_number_rx = '^\d+(?:\.\d+)*$';
 \f
 ################################################################