summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
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.m4
parent1407343262770a6413c01f46ca57f2cebb580833 (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.m4')
-rw-r--r--aclocal.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index cf4175dea2..864f805e64 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -63,15 +63,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
@@ -89,7 +84,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