source: rtems-schedsim/aclocal/check-posix.m4 @ 97d5402

Last change on this file since 97d5402 was 97d5402, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 6, 2011 at 6:10:43 PM

2011-07-06 Joel Sherrill <joel.sherrill@…>

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