chiark / gitweb /
configure: use AC_CHECK_TOOL for objcopy, strings and gperf
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 16 Apr 2013 12:26:30 +0000 (14:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 17 Apr 2013 04:41:16 +0000 (00:41 -0400)
commitac714a78fdca481488d88f84b6332d28083a4511
treee97a72b261ecb02de3219d94d517655e2552aa7d
parentced2d10a28cff3bab6fb613652db5abde8ed940e
configure: use AC_CHECK_TOOL for objcopy, strings and gperf

* using AC_PATH_TOOL does not allow to override it from shell environment
  which is useful when cross-compiling
* with external toolchain I have different HOST_PREFIX and HOST_SYS
  AC_PATH_TOOL is using HOST_SYS as prefix and fails to find objcopy
  which is available only as ${TARGET_PREFIX}-objcopy then it tries
  objcopy without prefix which is found on host, but that objcopy
  does not work for !host (e.g. arm when building on x86) libs
configure.ac