/usr/lib/autoconf/ac-wrapper.pl wrapper from 2.59-r4 and below doesn't recognize "-o" flag, whereas autoconf-2.5 can use it. I suggest to check for presense of this flag and if yes, set WANT_AUTOCONF_2_5 to 1.
Steps to Reproduce:
no, set the variable yourself
*** Bug 68929 has been marked as a duplicate of this bug. ***