| checking for g++... g++
| checking for C++ compiler default output... a.out
| checking whether the C++ compiler works... yes
| checking whether we are cross compiling... no
| checking for executable suffix...
| checking for object suffix... o
| checking whether we are using the GNU C++ compiler... yes
| checking whether g++ accepts -g... yes
| checking how to run the C++ preprocessor... g++ -E
This is good.
| checking how to run the C preprocessor... /lib/cpp
| checking for gcc... gcc
| checking whether we are using the GNU C compiler... yes
| checking whether gcc accepts -g... yes
| checking dependency style of gcc... gcc3
The problem is right here: for whatever reason (I'm tracking now), the
C preproc is looked for _before_ the C compiler. AC_REQUIRE should
guarantee it does not apply.
I don't know what's responsible for this, but that's the culprit.