forked from Imagelibrary/rtems
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following: * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4 (rpm-3.0.4), putting each NoSource: onto a separate line however seems to work. Unfortunately, I don't know the actual cause for this, esp. if SuSE broke it or if rpm-specs specification has changed (i.e. Redhat broke it up). * Add *.spec to several .cvsignores (Prevents cvs from complaining about <target>*.spec within the source-tree).
28 lines
584 B
Plaintext
28 lines
584 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN(RTEMS_CANONICAL_HOST,
|
|
[dnl
|
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
|
RTEMS_HOST=$host_os
|
|
changequote(,)dnl
|
|
case "${target}" in
|
|
# hpux unix port should go here
|
|
i[34567]86-*linux*) # unix "simulator" port
|
|
RTEMS_HOST=Linux
|
|
;;
|
|
i[34567]86-*freebsd2*) # 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
|
|
changequote([,])dnl
|
|
AC_SUBST(RTEMS_HOST)
|
|
])dnl
|