Ethereal-dev: Re: [Ethereal-dev] AC_ETHEREAL_GNU_SED_CHECK hack in Ethereal 0.9.1

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Albert Chin <ethereal-dev@xxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Feb 2002 01:45:27 -0600
On Sun, Feb 24, 2002 at 11:38:25PM -0800, Guy Harris wrote:
> On Mon, Feb 25, 2002 at 01:33:51AM -0600, Albert Chin wrote:
> > Libtool 1.4.3 will provide a fix to the problem
> > AC_ETHEREAL_GNU_SED_CHECK attempts to solve.
> 
> Will it also properly quote all the strings in whichever script it was
> that caused us tons of problems the last time we tried using libtool
> 1.4[.x]?  (I forget whether it was ltconfig or not, but the one release we
> built using libtool 1.4[.x] failed to build on a number of platforms
> because the script in question bombed out with a syntax error because
> some variable was either unset, or set to a null string, and they were
> doing a test something like
> 
> 	if test $foo = bar
> 
> which doesn't work if "foo" isn't set or is set to a null string;
> 
> 	if test "$foo" = bar

There have been some fixes for such cases but others might remain.
We've fixed the problems we've run into but I'm not aware of any
outstanding issues regarding this. Feel free to post any problems to
the libtool mailing list.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)