OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [aclocal/] [check-tool.m4] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
dnl check-tool.m4,v 1.2 2002/01/08 12:06:18 joel Exp
2
 
3
## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
4
## the un-prefixed version of PROG-TO-CHECK-FOR.
5
dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
6
AC_DEFUN(RTEMS_CHECK_TOOL,
7
[
8
  AS_IF([test "x$build_alias" != "x$host_alias"],
9
    [rtems_tool_prefix=${ac_tool_prefix}])
10
  AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
11
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.