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). Regards, Volker -- plonk :: m a -> m () http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
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
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."
I didn't see any response to this so I had a quick look. It has been fixed in the CVS repository so it will be in the next release. Thanks, -- Alastair Reid alastair@reid-consulting-uk.ltd.uk Reid Consulting (UK) Limited http://www.reid-consulting-uk.ltd.uk/alastair/
participants (3)
-
Alastair Reid -
Glynn Clements -
Volker Stolz