i tested this using a CVS head sandbox and it worked fine for me. are you sure you did a "make distclean" to delete any crud and delete all configuration information?
Were you on a 10.0.3 machine at 4P13? Maybe Apple broke something recently.
can't help you with hacking the autoconf stuff, i have no clue about it (and i do not think it is required in this case)