OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [enable-posix.m4] - Blame information for rev 509

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl $Id: enable-posix.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
2
 
3
AC_DEFUN(RTEMS_ENABLE_POSIX,
4
[
5
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
6
 
7
AC_ARG_ENABLE(posix,
8
[  --enable-posix                       enable posix interface],
9
[case "${enableval}" in
10
  yes) RTEMS_HAS_POSIX_API=yes ;;
11
  no) RTEMS_HAS_POSIX_API=no ;;
12
  *)  AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
13
esac],[RTEMS_HAS_POSIX_API=yes])
14
 
15
changequote(,)dnl
16
case "${target}" in
17
  # hpux unix port should go here
18
  i[34567]86-pc-linux*)         # unix "simulator" port
19
        RTEMS_HAS_POSIX_API=no
20
        ;;
21
  i[34567]86-*freebsd*) # unix "simulator" port
22
        RTEMS_HAS_POSIX_API=no
23
        ;;
24
  no_cpu-*rtems*)
25
        RTEMS_HAS_POSIX_API=no
26
        ;;
27
  sparc-sun-solaris*)             # unix "simulator" port
28
        RTEMS_HAS_POSIX_API=no
29
        ;;
30
  *)
31
        ;;
32
esac
33
changequote([,])dnl
34
AC_SUBST(RTEMS_HAS_POSIX_API)
35
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.