source: rtems/cpukit/aclocal/check-posix.m4 @ e493e2a8

4.115
Last change on this file since e493e2a8 was 8dc08d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/25/11 at 03:58:33

2011-02-25 Ralf Corsépius <ralf.corsepius@…>

  • aclocal/check-networking.m4, aclocal/check-posix.m4: Rebase check on "$host".
  • 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.