5
Last change
on this file since 8b28fdd was
9f6f026,
checked in by Chris Johns <chrisj@…>, on 04/09/18 at 06:18:09
|
Generate an error if no valid gcc is found when configure runs.
Close #3385.
|
-
Property mode set to
100644
|
File size:
408 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$target_alias" != "x$host_alias"], |
---|
7 | [rtems_tool_prefix=$target_alias-]) |
---|
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.