summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/canonical-target-name.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-10-21 15:17:21 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-10-21 15:17:21 +0000
commited4b894705cb39d0937077c9913fef4bb31033d8 (patch)
tree5ef6ef4b7eff6f2171416499c92baf8d6819a018 /cpukit/aclocal/canonical-target-name.m4
parent2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-ed4b894705cb39d0937077c9913fef4bb31033d8.tar.bz2
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-posix.m4: Add m4-quotes. Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU. * aclocal/canonical-host.m4: Remove. * configure.ac: Remove RTEMS_CANONICAL_HOST. * aclocal/sysv-ipc.m4: Remove reference to RTEMS_CANONICAL_HOST. * aclocal/canonical-target-name.m4: Use AC_CANONICAL_HOST instead of AC_CANONICAL_TARGET. Use $host instead of $target.
Diffstat (limited to 'cpukit/aclocal/canonical-target-name.m4')
-rw-r--r--cpukit/aclocal/canonical-target-name.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/aclocal/canonical-target-name.m4 b/cpukit/aclocal/canonical-target-name.m4
index 990c84e2d1..ff1750111b 100644
--- a/cpukit/aclocal/canonical-target-name.m4
+++ b/cpukit/aclocal/canonical-target-name.m4
@@ -10,9 +10,9 @@ dnl and we have to fix it for rtems ourselves
AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
[
-AC_CANONICAL_TARGET
+AC_CANONICAL_HOST
AC_MSG_CHECKING(rtems target cpu)
-case "${target}" in
+case "${host}" in
# hpux unix port should go here
i[[34567]]86-*linux*) # unix "simulator" port
RTEMS_CPU=unix
@@ -33,7 +33,7 @@ case "${target}" in
RTEMS_CPU=c4x
;;
*)
- RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
+ RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
;;
esac
AC_SUBST(RTEMS_CPU)