source: rtems/aclocal/canonicalize-tools.m4 @ aa7428a

4.104.114.84.95
Last change on this file since aa7428a was 4686e5d9, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/00 at 22:51:12

2000-11-02 Ralf Corsepius <corsepiu@…>

  • aclocal/canonicalize-tools.m4, aclocal/check-tool.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4: Replace AC_CHECK_TOOL with an RTEMS specific but more restrictive autoconf macro.
  • Property mode set to 100644
File size: 595 bytes
Line 
1dnl
2dnl $Id$
3dnl
4dnl Set target tools
5dnl
6
7AC_DEFUN(RTEMS_GCC_PRINT,
8[
9    $1=`$CC --print-prog-name=$2`
10])
11
12AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
13[AC_REQUIRE([RTEMS_PROG_CC])dnl
14
15dnl FIXME: What shall be done if these tools are not available?
16  RTEMS_CHECK_TOOL(AR,ar,no)
17  RTEMS_CHECK_TOOL(AS,as,no)
18  RTEMS_CHECK_TOOL(LD,ld,no)
19  RTEMS_CHECK_TOOL(NM,nm,no)
20
21dnl special treatment of ranlib
22  RTEMS_CHECK_TOOL(RANLIB,ranlib,:)
23
24dnl NOTE: These may not be available if not using gnutools
25  RTEMS_CHECK_TOOL(OBJCOPY,objcopy,no)
26  RTEMS_CHECK_TOOL(SIZE,size,no)
27  RTEMS_CHECK_TOOL(STRIP,strip,:)
28])
Note: See TracBrowser for help on using the repository browser.