diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-06-17 08:52:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-06-17 08:52:47 +0000 |
commit | ed8ec1cf119e0886f816697e3ee367476d90bea2 (patch) | |
tree | 0b3c7846d92f35bd6fe8038814d8e89ac667e761 /cpukit/aclocal/canonical-host.m4 | |
parent | 2002-06-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-ed8ec1cf119e0886f816697e3ee367476d90bea2.tar.bz2 |
2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* copied over from aclocal/.
Diffstat (limited to 'cpukit/aclocal/canonical-host.m4')
-rw-r--r-- | cpukit/aclocal/canonical-host.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cpukit/aclocal/canonical-host.m4 b/cpukit/aclocal/canonical-host.m4 new file mode 100644 index 0000000000..7077ab31c5 --- /dev/null +++ b/cpukit/aclocal/canonical-host.m4 @@ -0,0 +1,25 @@ +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 |