testsuite: be more cross-compile friendly
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 15 May 2011 12:30:43 +0000 (14:30 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 15 May 2011 13:27:04 +0000 (15:27 +0200)
commitdaa946a431442335bdf965e27b6f81f6c109fddc
treedc333d3578cb3e9fde9c8e50ee05fa5cfea9e19c
parenta370e2f5cd098af9b95314cdd49b0fbee6588a82
testsuite: be more cross-compile friendly

* tests/defs.in (cross_compiling): New subroutine.
(am__tool_prefix): New internal variable.
(gcc, g++, gcj): Force the use of the correct "tool prefix"
when cross compiling.
(gfortran, g77, non-cross): New requirements.
ChangeLog
tests/defs.in