diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-06-17 08:52:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-06-17 08:52:47 +0000 |
commit | ed8ec1cf119e0886f816697e3ee367476d90bea2 (patch) | |
tree | 0b3c7846d92f35bd6fe8038814d8e89ac667e761 /c/src/exec/aclocal/canonicalize-tools.m4 | |
parent | 2002-06-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-ed8ec1cf119e0886f816697e3ee367476d90bea2.tar.bz2 |
2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* copied over from aclocal/.
Diffstat (limited to 'c/src/exec/aclocal/canonicalize-tools.m4')
-rw-r--r-- | c/src/exec/aclocal/canonicalize-tools.m4 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/c/src/exec/aclocal/canonicalize-tools.m4 b/c/src/exec/aclocal/canonicalize-tools.m4 new file mode 100644 index 0000000000..3868c76d71 --- /dev/null +++ b/c/src/exec/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,:) +]) |