source:
rtems-schedsim/aclocal/check-posix.m4
@
a2aad55
Last change on this file since a2aad55 was a2aad55, checked in by Joel Sherrill <joel.sherrill@…>, on 05/01/13 at 00:41:56 | |
---|---|
|
|
File size: 414 bytes |
Line | |
---|---|
1 | AC_DEFUN([RTEMS_CHECK_POSIX_API], |
2 | [dnl |
3 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
4 | AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl |
5 | |
6 | AC_CACHE_CHECK([whether CPU supports libposix], |
7 | rtems_cv_HAS_POSIX_API, |
8 | [dnl |
9 | case "$host" in |
10 | *-*-rtems*) |
11 | if test "${RTEMS_HAS_POSIX_API}" = "yes"; then |
12 | rtems_cv_HAS_POSIX_API="yes"; |
13 | else |
14 | rtems_cv_HAS_POSIX_API="disabled"; |
15 | fi |
16 | ;; |
17 | esac]) |
18 | ]) |
Note: See TracBrowser
for help on using the repository browser.