[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autoconf weirdness



On Fri, Sep 13, 2002 at 04:29:58PM -0400, Ben Pfaff wrote:
> I've now taken a look at this.  It seems to me that there must be
> a quoting problem somewhere in the included m4 files.  There is a
> horrible, horrible number of those, though, and I don't want to
> spend a lot of time looking through them.

I created a hacked perl script to check
the quoting:

--- cut ---
#!/bin/perl -W
use strict;

undef $/;
$_ = <>;

$_ =~ s/\[[^[\]]*]//g;
$_ =~ s/\[[^[\]]*]//g;
$_ =~ s/\[[^[\]]*]//g;
$_ =~ s/\[[^[\]]*]//g;
$_ =~ s/\[[^[\]]*]//g;

print $_;
--- cut ---

I ran it like this:

[564] [scrooge:bam] ~/tmp/woody/selinux/broken/shellutils-2.0.11 >for i
in configure.in m4/*; do perl ~/test $i; done | less

It only detected one mismatched quote:

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

but that is inside a comment, so I don't think it counts...

of course, this isn't a conclusive test, but I would
be surprised if a quoting problem did exist...
-- 
Brian May <bam@debian.org>



Reply to: