OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [aclocal/] [enable-posix.m4] - Blame information for rev 1765

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

Line No. Rev Author Line
1 1026 ivang
dnl enable-posix.m4,v 1.11 2001/09/13 13:14:30 joel 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
AC_HELP_STRING([--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
case "${host}" in
16
  # hpux unix port should go here
17
  i[[34567]]86-pc-linux*)         # unix "simulator" port
18
        RTEMS_HAS_POSIX_API=no
19
        ;;
20
  i[[34567]]86-*freebsd*) # unix "simulator" port
21
        RTEMS_HAS_POSIX_API=no
22
        ;;
23
  no_cpu-*rtems*)
24
        RTEMS_HAS_POSIX_API=no
25
        ;;
26
  sparc-sun-solaris*)             # unix "simulator" port
27
        RTEMS_HAS_POSIX_API=no
28
        ;;
29
  *)
30
        ;;
31
esac
32
AC_SUBST(RTEMS_HAS_POSIX_API)
33
])

powered by: WebSVN 2.1.0

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