automake
[Top][All Lists]
Advanced

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

Re: Warning fix for automake on CVS Libtool


From: Pavel Roskin
Subject: Re: Warning fix for automake on CVS Libtool
Date: Sun, 6 May 2001 02:08:18 -0400 (EDT)

On 5 May 2001, Tom Tromey wrote:

> I think this is ok.
> Please check it in.

Ok.

> Pavel> +      elsif (/address@hidden(code)?index (\w+)/)
> Pavel> +        push @clean_suffixes, $2;
>
> My understanding is that here $1 will not necessarily be defined, but
> $2 will always be defined.  Is that right?

Yes. I was 99.9% sure, but since you asked I wrote this script and it
makes me 100% sure.

#! /usr/bin/perl -w
$_ = "address@hidden fu";
/address@hidden(code)?index (\w+)/;
print "\$1 = $1, \$2 = $2\n";
$_ = "address@hidden fu";
/address@hidden(code)?index (\w+)/;
print "\$1 = $1, \$2 = $2\n";

Output:

$1 = code, $2 = fu
Use of uninitialized value in concatenation (.) at ./test line 7.
$1 = , $2 = fu

> Pavel> By the way, I discovered a terrible bug in CVS Automake while
> Pavel> testing it - "make dvi" doesn't propagate to the
> Pavel> subdirectories.
>
> That's a bit suprising.  I looked at the automake Makefile.in and it
> seems to do the right thing.  `make -n dvi' seemed to work ok too.

Tom, I'm worried about you. Don't you know that Automake has its
documentation in the top-level directory?

Try recent Autoconf or Libtool:

$ automake
$ ./configure --quiet
...
$ make dvi
make: Nothing to be done for `dvi'.

-- 
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]