summaryrefslogblamecommitdiffstats
path: root/cpukit/aclocal/check-posix.m4
blob: 6b7ff61c4e0b5d3580225685572dabb18e7cd43f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                 
    
                                           




                                               

                   






                                                    
  
AC_DEFUN([RTEMS_CHECK_POSIX_API],
[dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl

AC_CACHE_CHECK([whether CPU supports libposix],
  rtems_cv_HAS_POSIX_API,
  [dnl
    case "$host" in
    *-*-rtems*)
      if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
        rtems_cv_HAS_POSIX_API="yes";
      else
        rtems_cv_HAS_POSIX_API="disabled";
      fi
      ;;
    esac])
])