source: rtems/aclocal/canonical-host.m4 @ 0a8a4c1

Last change on this file since 0a8a4c1 was 0a8a4c1, checked in by Joel Sherrill <joel.sherrill@…>, on 06/16/00 at 13:05:17

Patch from James Housley <jim@…> to address FreeBSD 4.x
build issues.

  • Property mode set to 100644
File size: 583 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_CANONICAL_HOST,
4[dnl
5AC_REQUIRE([AC_CANONICAL_HOST])
6RTEMS_HOST=$host_os
7changequote(,)dnl
8case "${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        ;;
24esac
25changequote([,])dnl
26AC_SUBST(RTEMS_HOST)
27])dnl
Note: See TracBrowser for help on using the repository browser.