I'd rather suspect AC_PROG_CXX, which was added in this commit:
commit bf4cdfefc4574f2bc59463022578d758bbd29e11 Author: Henrik Grubbström (Grubba) grubba@grubba.org Date: Mon Feb 14 13:42:35 2011 +0100
Improved support for modules needing C++ compilers.