→Build the js shell: configure.in isn't really an autoconf input script anymore; it will invoke autoconf on the real stuff for you. Prefer a command that works regardless of local naming.
cd spidermonkey/js/src
cp configure.in configure && chmod +x configure # or autoconf2.13 # or autoconf-2.13