source:
rtems/c/src/aclocal/check-tool.m4
@
333a312
Last change on this file since 333a312 was 91d2e18, checked in by Ralf Corsépius <ralf.corsepius@…>, on 05/04/12 at 06:53:58 | |
---|---|
|
|
File size: 410 bytes |
Line | |
---|---|
1 | ## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to |
2 | ## the un-prefixed version of PROG-TO-CHECK-FOR. |
3 | dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) |
4 | AC_DEFUN([RTEMS_CHECK_TOOL], |
5 | [ |
6 | AS_IF([test "x$build_alias" != "x$host_alias"], |
7 | [rtems_tool_prefix=${ac_tool_prefix}]) |
8 | AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4) |
9 | ]) |
Note: See TracBrowser
for help on using the repository browser.