Installing Haiku on Mac OS X: config.guess fails

Following the instructions on, I did ./configure.
It was going fine, until I got this:
Config.guess failed to determine the host type. You need to specify one.
Usage: configure [OPTIONS] [HOST]

I think it’s a problem with the build tools. Or am I doing something wrong?