mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-07 16:13:07 +00:00
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:
@@ -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>
|
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* aclocal/check-multiprocessing.m4: Add m4-quotes.
|
* aclocal/check-multiprocessing.m4: Add m4-quotes.
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -10,9 +10,9 @@ dnl and we have to fix it for rtems ourselves
|
|||||||
|
|
||||||
AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
|
||||||
[
|
[
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_HOST
|
||||||
AC_MSG_CHECKING(rtems target cpu)
|
AC_MSG_CHECKING(rtems target cpu)
|
||||||
case "${target}" in
|
case "${host}" in
|
||||||
# hpux unix port should go here
|
# hpux unix port should go here
|
||||||
i[[34567]]86-*linux*) # unix "simulator" port
|
i[[34567]]86-*linux*) # unix "simulator" port
|
||||||
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
||||||
@@ -33,7 +33,7 @@ case "${target}" in
|
|||||||
RTEMS_CPU=c4x
|
RTEMS_CPU=c4x
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
AC_SUBST(RTEMS_CPU)
|
AC_SUBST(RTEMS_CPU)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
AC_DEFUN(RTEMS_CHECK_POSIX_API,
|
AC_DEFUN(RTEMS_CHECK_POSIX_API,
|
||||||
[dnl
|
[dnl
|
||||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
|
||||||
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
|
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
|
||||||
|
|
||||||
AC_CACHE_CHECK([whether CPU supports libposix],
|
AC_CACHE_CHECK([whether CPU supports libposix],
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ fi
|
|||||||
|
|
||||||
AC_DEFUN(RTEMS_SYSV_SEM,
|
AC_DEFUN(RTEMS_SYSV_SEM,
|
||||||
[AC_REQUIRE([AC_PROG_CC])
|
[AC_REQUIRE([AC_PROG_CC])
|
||||||
# AC_REQUIRE([RTEMS_CANONICAL_HOST])
|
|
||||||
AC_CACHE_CHECK(whether $host supports System V semaphores,
|
AC_CACHE_CHECK(whether $host supports System V semaphores,
|
||||||
rtems_cv_sysv_sem,
|
rtems_cv_sysv_sem,
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -31,8 +31,6 @@ else
|
|||||||
AC_MSG_ERROR(no)
|
AC_MSG_ERROR(no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RTEMS_CANONICAL_HOST
|
|
||||||
|
|
||||||
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
||||||
RTEMS_CANONICALIZE_TOOLS
|
RTEMS_CANONICALIZE_TOOLS
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
|
|||||||
Reference in New Issue
Block a user