joyent/node — pull request #2793 by TooTallNate (2012-02-20 20:34:40+00:00)
Title: Better host_arch() definition in the 'configure' script.

I rewrote the `host_arch()` function to more closely match how WAF does it.

This is mostly because on one of my OS X Lion machines, it always reports `i386`, even though 64-bit
is supported:

``` bash
☮ ~ (master) ⚡ uname -m
i386
☮ ~ (master) ⚡ uname -p
i386
☮ ~ (master) ⚡ arch
i386
```

WAF was still getting it right though, so this pull makes `./configure` properly detect `x64` on this machine.