source: rtems/aclocal/canonicalize-tools.m4 @ 2f17d74

4.104.114.84.95
Last change on this file since 2f17d74 was 2f17d74, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 2, 2000 at 3:55:26 PM

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

  • aclocal/canonicalize-tools.m4: Remove RTEMS_PATH_TOOL, use AC_CHECK_TOOL instead of RTEMS_PATH_TOOL in RTEMS_CANONICALIZE_TOOLS.
  • Property mode set to 100644
File size: 673 bytes
Line 
1dnl
2dnl $Id$
3dnl
4dnl Set target tools
5dnl
6
7AC_DEFUN(RTEMS_HOST_AR,
8[AC_CHECK_TOOL(AR,ar,no)])
9
10AC_DEFUN(RTEMS_HOST_RANLIB,
11[AC_CHECK_TOOL(RANLIB,ranlib,:)])
12
13AC_DEFUN(RTEMS_GCC_PRINT,
14[
15    $1=`$CC --print-prog-name=$2`
16])
17
18AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
19[AC_REQUIRE([RTEMS_PROG_CC])dnl
20
21dnl FIXME: What shall be done if these tools are not available?
22  RTEMS_HOST_AR(AR,ar,no)
23  AC_CHECK_TOOL(AS,as,no)
24  AC_CHECK_TOOL(LD,ld,no)
25  AC_CHECK_TOOL(NM,nm,no)
26
27dnl special treatment of ranlib
28  RTEMS_HOST_RANLIB
29
30dnl NOTE: These may not be available if not using gnutools
31  AC_CHECK_TOOL(OBJCOPY,objcopy,no)
32  AC_CHECK_TOOL(SIZE,size,no)
33  AC_CHECK_TOOL(STRIP,strip,:)
34])
Note: See TracBrowser for help on using the repository browser.