source: rtems/c/src/aclocal/check-posix.m4 @ 6273201

4.115
Last change on this file since 6273201 was 65c6425, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 17:24:46

Remove CVS Id Strings (manual edits after script)

These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.

  • Property mode set to 100644
File size: 734 bytes
Line 
1AC_DEFUN([RTEMS_CHECK_POSIX_API],
2[dnl
3AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
4AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
5
6AC_CACHE_CHECK([whether CPU supports libposix],
7  rtems_cv_HAS_POSIX_API,
8  [dnl
9    case "$RTEMS_CPU" in
10    *)
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])
18if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
19  HAS_POSIX_API="yes";
20else
21  HAS_POSIX_API="no";
22fi
23AC_SUBST(HAS_POSIX_API)dnl
24])
25
26AC_DEFUN([RTEMS_DEFINE_POSIX_API],
27[AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl
28AS_IF(
29  [test x"${HAS_POSIX_API}" = x"yes"],
30  [AC_DEFINE_UNQUOTED(RTEMS_POSIX_API,1,[if posix api is supported])])
31])
Note: See TracBrowser for help on using the repository browser.