source: rtems/testsuites/aclocal/check-tool.m4 @ 16f3f10

Last change on this file since 16f3f10 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
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.
3dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
4AC_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.