Files
rtems/aclocal/enable-posix.m4
Joel Sherrill 92ba047699 Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
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).
2000-04-18 13:18:34 +00:00

36 lines
804 B
Plaintext

dnl $Id$
AC_DEFUN(RTEMS_ENABLE_POSIX,
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
AC_ARG_ENABLE(posix,
[ --enable-posix enable posix interface],
[case "${enableval}" in
yes) RTEMS_HAS_POSIX_API=yes ;;
no) RTEMS_HAS_POSIX_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
esac],[RTEMS_HAS_POSIX_API=yes])
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
i[34567]86-*freebsd2*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_POSIX_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HAS_POSIX_API)
])