Debian sid reports m4 --version as GNU M4 1.4.3 Written by Rene' Seindal.
Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. notice the captial M. Index: config/auto/m4.pl =================================================================== --- config/auto/m4.pl (revision 8140) +++ config/auto/m4.pl (working copy) @@ -26,7 +26,7 @@ sub runstep { # This seems to work for GNU m4 1.4.2 my $a = capture_output( 'm4', '--version' ) || ''; - my $has_gnu_m4 = ( $a =~ m/^GNU m4 / ) ? 1 : 0; + my $has_gnu_m4 = ( $a =~ m/^GNU [mM]4 / ) ? 1 : 0; Configure::Data->set(has_gnu_m4 => $has_gnu_m4); Patch attached, Kevin Tew
Index: config/auto/m4.pl =================================================================== --- config/auto/m4.pl (revision 8140) +++ config/auto/m4.pl (working copy) @@ -26,7 +26,7 @@ sub runstep { # This seems to work for GNU m4 1.4.2 my $a = capture_output( 'm4', '--version' ) || ''; - my $has_gnu_m4 = ( $a =~ m/^GNU m4 / ) ? 1 : 0; + my $has_gnu_m4 = ( $a =~ m/^GNU [mM]4 / ) ? 1 : 0; Configure::Data->set(has_gnu_m4 => $has_gnu_m4);