bug-autoconf
[Top][All Lists]
Advanced

[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 23:28:45 +0100
User-agent: Mutt/1.2.4i

On Fri, Feb 02, 2001 at 05:08:39PM -0500, Pavel Roskin wrote:
> > But i made some modifications to test my patch :
> >
> > if AC_TRY_COMMAND([(echo "The Cat in the Hat";
> 
> I understand that the semicolon fixes the problem!
> 
> >                     echo "The Hat in the Cat" >&2)
> >                     | grep ^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then
> >   true
> > else
> >   AC_MSG_ERROR([Didn't see the Cat in the Hat!])
> > fi
> 
> I believe, it's fair to require semicolons inside AC_TRY_COMMAND. It's not
> a real limitation.
> 
> The patch goes to autoconf-patches. Thank you!

Just a small thing i forgot. The circumflex in grep command must be
quoted too, as it is interpreted by `sh' under tru64 v5.1 as a pipeline
start. Grrrr ...

address@hidden [~]> man 1p sh
[...]
  A pipeline is a sequence of one or more commands separated by a | (vertical
  bar) or, for historical compatibility, by a ^ (circumflex).  In a pipeline,
  the standard output of each command becomes the standard input of the next
[...]

-- 
Nicolas Joly

Informatique Scientifique
Institut Pasteur, Paris.



reply via email to

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