Files
rtems/aclocal/canonical-host.m4
Joel Sherrill 1033e273a4 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b).
	* aclocal/check-newlib.m4: Let check message refer to RTEMS newlib.
	* aclocal/rtems-debug.m4: Fix formating and contents of the check's
	help string.
	* aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
2000-11-15 21:56:52 +00:00

26 lines
551 B
Plaintext

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