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




                                               

                   






                                                    
  
dnl
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])
])