autotools: Account for autogen.sh that automatically run configure.

Authored by mpyne on Dec 15 2016, 2:45 AM.