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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 30 unneback
dnl $Id: check-posix.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
2
dnl
3
AC_DEFUN(RTEMS_CHECK_POSIX_API,
4
[dnl
5
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
6
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
7
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
8
 
9
AC_CACHE_CHECK([whether BSP supports libposix],
10
  rtems_cv_HAS_POSIX_API,
11
  [dnl
12
    case "$RTEMS_CPU" in
13
    unix*)
14
      rtems_cv_HAS_POSIX_API="no"
15
      ;;
16
    *)
17
      if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
18
        rtems_cv_HAS_POSIX_API="yes";
19
      else
20
        rtems_cv_HAS_POSIX_API="disabled";
21
      fi
22
      ;;
23
    esac])
24
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
25
  HAS_POSIX_API="yes";
26
else
27
  HAS_POSIX_API="no";
28
fi
29
AC_SUBST(HAS_POSIX_API)dnl
30
])

powered by: WebSVN 2.1.0

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