source: rtems-schedsim/aclocal/check-posix.m4

Last change on this file was 972ce8d, checked in by Joel Sherrill <joel.sherrill@…>, on 05/01/13 at 16:05:32

aclocal/*posix*.m4: Change so POSIX can be Enabled

The real RTEMS code ensures that POSIX is enabled only for targets
matching *-*-rtems*. The Scheduler Simulator runs natively.

  • Property mode set to 100644
File size: 422 bytes
Line 
1AC_DEFUN([RTEMS_CHECK_POSIX_API],
2[dnl
3AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
4AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
5
6AC_CACHE_CHECK([whether CPU supports libposix],
7  rtems_cv_HAS_POSIX_API,
8  [dnl
9    case "$host" in
10    #*-*-rtems*)
11    *)
12      if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
13        rtems_cv_HAS_POSIX_API="yes";
14      else
15        rtems_cv_HAS_POSIX_API="disabled";
16      fi
17      ;;
18    esac])
19])
Note: See TracBrowser for help on using the repository browser.