[Top][All Lists]

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

Re: Two testsuite failure in CVS autoconf

From: Nicolas Joly
Subject: Re: Two testsuite failure in CVS autoconf
Date: Fri, 2 Feb 2001 22:16:05 +0100
User-agent: Mutt/1.2.4i

On Fri, Feb 02, 2001 at 03:49:08PM -0500, Pavel Roskin wrote:
> Hi, Nicolas!
> > For AC_TRY_* test, there is a small typo. Here follow a patch :
> > -                  | grep ^The\ Cat\ in\ The\ Hat\$ >/dev/null]); then
> > +                  | grep ^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then
> >    # Cool!
> >  else
> Are you sure this patch is sufficient for you? Have you tested it?

It not sufficient. I just wanted to correct the typo.

> There are at least two problems here.
> 1) There are no commands between "then" and "else". bash-1.14.7 doesn't
> accept this code.

I saw it with sh under Tru64 unix v5.1 too.

> 2) Support for multiline AC_TRY_COMMAND seems to be broken, as the file
> BUGS says. It is indeed broken on my RedHat 6.2.

Same here.

But i made some modifications to test my patch :

if AC_TRY_COMMAND([(echo "The Cat in the Hat";
                    echo "The Hat in the Cat" >&2)
                    | grep ^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then
  AC_MSG_ERROR([Didn't see the Cat in the Hat!])

Nicolas Joly

Informatique Scientifique
Institut Pasteur, Paris.

reply via email to

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