#304 Cross compilation configure fails in tests

with test code
open
nobody
5
2012-10-11
2012-10-11
Andy Valencia
No

When building for cross compilation to ARM from x86, the top level configure script drops into test/ and blows up
trying to compile things with -I/usr/include on the compiler invocation. This happens even with --disable-build-tests.

configure:14811: checking for Xt Revision Number 6
configure:14838: arm-angstrom-linux-gnueabi-gcc -o conftest -g -I/usr/include conftest.c >&5

I really could not figure out how the configure script laid its hands on /usr/include. This all happens
with the latest source release I could find, lesstif-0.95.2

Discussion