title: Autoconf/configure not finding tools for cross compiling
body: <p>I'm trying to cross-compile libSDL version 1.2 (which leverages autoconf and configure) for a custom made, Debian based Linux system. The toolchain I'm using is already configured properly so that I just run <code>gcc</code>/<code>g++</code> on the desired code and the resulting output is compatible with the target machine.</p>
  
  <p>When I run <code>./configure --help</code> in the libSDL source directory, I see that I can basically just set some environment variables to point to my cross-compiler, and I also see the following options:</p>
  
  <pre><code>System types:
    --build=BUILD     configure for building on BUILD [guessed]
    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  </code></pre>
  
  <p>I set these options so that, it seems, configure knows that I'm trying to cross compile as evident by the output line <code>checking whether we are cross compiling... yes</code> which says 'yes' when the <code>--build</code> and <code>--host</code> flags differ. However, I'm not 100% sure that this is what causes it to know I'm cross-compiling.</p>
  
  <p>My problem is that configure picks up my compiler (that I set with an env. var.) and detects gcc, but it can't find other build tools like objdump, for example. It should be looking in /bin/ (where all the other build tools are) but I'm guessing it's not looking in the right spot.</p>
  
  <p>This is my command and output:</p>
  
  <pre><code>$ ./configure --prefix=/home/sudoroot/code/sal_wip/libsdl/SDL-1.2.15/prefix_dir --exec-prefix=/home/sudoroot/code/sal_wip/libsdl/SDL-1.2.15/exec-prefix_dir --build=i686-pc-linux-gnu --host=i686-linux
  &lt;...&gt;
  checking for i686-linux-gcc... /toolchain/x86_gcc-4.7.2_eglibc-2.17-r22120_i686-host-linux-gnu-2/bin/i686-linux-gcc
  checking for i686-linux-objdump... no
  checking for objdump... objdump
  configure: WARNING: In the future, Autoconf will not detect cross-tools
  whose name does not start with the host triplet.  If you think this
  configuration is useful to you, please write to autoconf@gnu.org.
  &lt;...&gt;
  </code></pre>
  
  <p>It looks to me like it couldn't find my cross-compiler objdump, but it did find the host machine's local copy of objdump.</p>
  
  <p>I looked into all of <code>configure</code>'s flags and couldn't find anything on setting the cross-compile search directory. How do I get <code>configure</code> find my tools in my <code>/toolchain/&lt;toolchain&gt;/bin</code> directory?</p>