summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-16 14:55:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-16 14:55:28 +0000
commit8c92fa385a8be3c76411b539dd0cb26eadaf16d9 (patch)
treeeb5fb1b895f0d82ad6aacfa1e3128e10119e23a2 /aclocal
parentRegenerated (diff)
downloadrtems-8c92fa385a8be3c76411b539dd0cb26eadaf16d9.tar.bz2
Patcg from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
-- configure now fails to detect the toolchain for linux-posix. As work-around, I have reverted to the old behavior of RTEMS_TARGET_CPU_NAME, thus no_cpu/no_bsp will fail badly in configure again.
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/canonical-target-name.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4
index 7439ee74df..cf6890a4f2 100644
--- a/aclocal/canonical-target-name.m4
+++ b/aclocal/canonical-target-name.m4
@@ -10,15 +10,10 @@ dnl and we have to fix it for rtems ourselves
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
[
-rtems_target=$target;
-case "$target" in
-no_cpu*) target=$host;;
-*) ;;
-esac
AC_CANONICAL_SYSTEM
AC_MSG_CHECKING(rtems target cpu)
changequote(,)dnl
-case "${rtems_target}" in
+case "${target}" in
# hpux unix port should go here
i[3456]86-go32-rtems*)
RTEMS_CPU=i386
@@ -36,7 +31,7 @@ case "${rtems_target}" in
RTEMS_CPU=unix
;;
*)
- RTEMS_CPU=`echo $rtems_target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
+ RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
;;
esac
changequote([,])dnl