Since automake wrapper moved to separate its own package, fixing bug 66446 has no sense any more. I open new (this) bug to sys-devel/automake-wrapper package. And put patch for fixing /usr/portage/sys-devel/automake-wrapper/files/am-wrapper-1.pl this patch more beautiful then patch in 66446 bug. Reproducible: Always Steps to Reproduce:
Created attachment 42554 [details, diff] patch for /usr/portage/sys-devel/automake-wrapper/files/am-wrapper-1.pl to fix bug 66446 and bug 68816
*** Bug 66446 has been marked as a duplicate of this bug. ***
the new wrapper will be running the latest version of automake by default so the check wouldnt be too useful