Can you specify which version of RHEL you're using, and give a self-contained, reproducible test case? That might help track it down.
Although it's hard to tell from the symptoms, my guess is that it's some sort of
issue with autom4te calling the wrong version of M4 (or maybe of Perl), or M4
not being installed in the right place in your VM, or something like that.
- bug#42051: Automake Bug Humphrey (US), Colten L
- bug#42051: Automake Bug Karl Berry
- bug#42051: Automake Bug Paul Eggert
- bug#42051: Automake Bug Karl Berry