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.
This commit is contained in:
Ralf Corsepius
2003-10-21 15:17:21 +00:00
parent 9ca05b1c8b
commit ed4b894705
6 changed files with 14 additions and 32 deletions

View File

@@ -1,3 +1,13 @@
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.
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-multiprocessing.m4: Add m4-quotes.

View File

@@ -1,25 +0,0 @@
dnl $Id$
AC_DEFUN(RTEMS_CANONICAL_HOST,
[dnl
AC_REQUIRE([AC_CANONICAL_HOST])
RTEMS_HOST=$host_os
case "${target}" in
# hpux unix port should go here
i[[34567]]86-*linux*) # unix "simulator" port
RTEMS_HOST=Linux
;;
i[[34567]]86-*freebsd*) # unix "simulator" port
RTEMS_HOST=FreeBSD
;;
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_HOST=Cygwin
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HOST=Solaris
;;
*)
;;
esac
AC_SUBST(RTEMS_HOST)
])dnl

View File

@@ -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)

View File

@@ -2,7 +2,7 @@ dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_POSIX_API,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
AC_CACHE_CHECK([whether CPU supports libposix],

View File

@@ -32,7 +32,6 @@ fi
AC_DEFUN(RTEMS_SYSV_SEM,
[AC_REQUIRE([AC_PROG_CC])
# AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $host supports System V semaphores,
rtems_cv_sysv_sem,
[

View File

@@ -31,8 +31,6 @@ else
AC_MSG_ERROR(no)
fi
RTEMS_CANONICAL_HOST
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
RTEMS_CANONICALIZE_TOOLS
AC_PROG_RANLIB