Here's a commit that implements the instructions here: 7d96ba500db19a6ea2fba95be07f9756e404963f
You also need to do:
brew install curl
Build as usual:
./autogen.sh ./nomacro.pl ./configure CFLAGS="-O3" make