4.115
Last change
on this file since aec0e195 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 | |
---|
1 | AC_DEFUN([RTEMS_CHECK_POSIX_API], |
---|
2 | [dnl |
---|
3 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
---|
4 | AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl |
---|
5 | |
---|
6 | AC_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]) |
---|
18 | if test "$rtems_cv_HAS_POSIX_API" = "yes"; then |
---|
19 | HAS_POSIX_API="yes"; |
---|
20 | else |
---|
21 | HAS_POSIX_API="no"; |
---|
22 | fi |
---|
23 | AC_SUBST(HAS_POSIX_API)dnl |
---|
24 | ]) |
---|
25 | |
---|
26 | AC_DEFUN([RTEMS_DEFINE_POSIX_API], |
---|
27 | [AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl |
---|
28 | AS_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.