4 Sep
2002
4 Sep
'02
10:26 p.m.
Volker Stolz wrote:
Hi, there's a Linuxism in hugs98-Dec2001/src/unix/configure:
if (test "`basename ${YACC}`x" == "byaccx"); then echo "Found 'byacc', but the Hugs98 parser is incompatible with it."
The test should be one simple "=" for string equality. This will make configure trip e.g. on FreeBSD (though it'll do no harm -- yet).
Actually "==" is a "bash 2.x"-ism. Any system (Linux or otherwise) where /bin/sh is bash 1.x will also choke on the above code. -- Glynn Clements <glynn.clements@virgin.net>