forked from Imagelibrary/rtems
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.
10 lines
410 B
Plaintext
10 lines
410 B
Plaintext
## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
|
|
## the un-prefixed version of PROG-TO-CHECK-FOR.
|
|
dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
|
|
AC_DEFUN([RTEMS_CHECK_TOOL],
|
|
[
|
|
AS_IF([test "x$build_alias" != "x$host_alias"],
|
|
[rtems_tool_prefix=${ac_tool_prefix}])
|
|
AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
|
|
])
|