OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [aclocal/] [canonical-host.m4] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 208 chris
dnl $Id: canonical-host.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
2 158 chris
 
3
AC_DEFUN(RTEMS_CANONICAL_HOST,
4
[dnl
5
AC_REQUIRE([AC_CANONICAL_HOST])
6
RTEMS_HOST=$host_os
7
changequote(,)dnl
8
case "${target}" in
9
  # hpux unix port should go here
10
  i[34567]86-*linux*)          # unix "simulator" port
11
        RTEMS_HOST=Linux
12
        ;;
13
  i[34567]86-*freebsd*)         # unix "simulator" port
14
        RTEMS_HOST=FreeBSD
15
        ;;
16
  i[34567]86-pc-cygwin*)        # Cygwin is just enough unix like :)
17
        RTEMS_HOST=Cygwin
18
        ;;
19
  sparc-sun-solaris*)           # unix "simulator" port
20
        RTEMS_HOST=Solaris
21
        ;;
22
  *)
23
        ;;
24
esac
25
changequote([,])dnl
26
AC_SUBST(RTEMS_HOST)
27
])dnl

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.