Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

config/auto/m4.pl patch

5 views
Skip to first unread message

Kevin Tew

unread,
May 21, 2005, 1:37:18 PM5/21/05
to perl6-i...@perl.org
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


m4.patch

Bernhard Schmalhofer

unread,
May 22, 2005, 5:10:17 PM5/22/05
to Kevin Tew, perl6-i...@perl.org
Kevin Tew schrieb:

> Debian sid reports m4 --version as
>
> GNU M4 1.4.3
> Written by Rene' Seindal.

> notice the captial M.

Thanks, applied.

CU, Bernhard

0 new messages