cisco / ChezScheme

Chez Scheme
Apache License 2.0
6.95k stars 982 forks source link

Fix configure arm64 error #656

Closed Syzygies closed 2 years ago

Syzygies commented 2 years ago

On arm64 (M1/M2 MacOS) ./configure throws nonfatal errors

./configure: line 338: [: =: unary operator expected ./configure: line 338: [: =: unary operator expected

because $m is not defined. This patch handles arm64, advising user that arm64 is not supported.

akeep commented 2 years ago

Thanks for the update! I think the right way to address the core issue with the script is to surround the references to $m with ". Inspired by your message #657 also includes a message on how to build Chez Scheme for Rosetta2 while we continue to work on the arm64 port.