diff options
Diffstat (limited to '')
-rw-r--r-- | aclocal.m4 | 9 | ||||
-rw-r--r-- | aclocal/canonical-target-name.m4 | 9 |
2 files changed, 4 insertions, 14 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 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 |