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.
21 lines
514 B
Plaintext
21 lines
514 B
Plaintext
dnl Set target tools
|
|
dnl
|
|
|
|
AC_DEFUN([RTEMS_CANONICALIZE_TOOLS],
|
|
[AC_REQUIRE([RTEMS_PROG_CC])dnl
|
|
|
|
dnl FIXME: What shall be done if these tools are not available?
|
|
RTEMS_CHECK_TOOL(AR,ar,no)
|
|
RTEMS_CHECK_TOOL(AS,as,no)
|
|
RTEMS_CHECK_TOOL(LD,ld,no)
|
|
RTEMS_CHECK_TOOL(NM,nm,no)
|
|
|
|
dnl special treatment of ranlib
|
|
RTEMS_CHECK_TOOL(RANLIB,ranlib,:)
|
|
|
|
dnl NOTE: These may not be available if not using gnutools
|
|
RTEMS_CHECK_TOOL(OBJCOPY,objcopy,no)
|
|
RTEMS_CHECK_TOOL(SIZE,size,no)
|
|
RTEMS_CHECK_TOOL(STRIP,strip,:)
|
|
])
|