From ed8ec1cf119e0886f816697e3ee367476d90bea2 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 17 Jun 2002 08:52:47 +0000 Subject: 2002-06-17 Ralf Corsepius * copied over from aclocal/. --- cpukit/aclocal/canonicalize-tools.m4 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cpukit/aclocal/canonicalize-tools.m4 (limited to 'cpukit/aclocal/canonicalize-tools.m4') diff --git a/cpukit/aclocal/canonicalize-tools.m4 b/cpukit/aclocal/canonicalize-tools.m4 new file mode 100644 index 0000000000..3868c76d71 --- /dev/null +++ b/cpukit/aclocal/canonicalize-tools.m4 @@ -0,0 +1,28 @@ +dnl +dnl $Id$ +dnl +dnl Set target tools +dnl + +AC_DEFUN(RTEMS_GCC_PRINT, +[ + $1=`$CC --print-prog-name=$2` +]) + +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,:) +]) -- cgit v1.2.3