4.104.114.84.95
Last change
on this file since 3993b6f7 was
3993b6f7,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/21/03 at 11:28:41
|
2003-10-21 Ralf Corsepius <corsepiu@…>
- aclocal/canonical-target-name.m4: Add m4-quotes.
- aclocal/check-cxx.m4: Add m4-quotes.
Don't require RTEMS_CHECK_CPU.
- aclocal/check-multiprocessing.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
- aclocal/check-networking.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
- aclocal/check-posix.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
- aclocal/check-rdbg.m4: Add m4-quotes.
Require RTEMS_CANONICAL_TARGET_CPU instead of RTEMS_CHECK_CPU.
|
-
Property mode set to
100644
|
File size:
797 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN(RTEMS_CHECK_POSIX_API, |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
---|
6 | AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl |
---|
7 | |
---|
8 | AC_CACHE_CHECK([whether CPU supports libposix], |
---|
9 | rtems_cv_HAS_POSIX_API, |
---|
10 | [dnl |
---|
11 | case "$RTEMS_CPU" in |
---|
12 | unix*) |
---|
13 | rtems_cv_HAS_POSIX_API="no" |
---|
14 | ;; |
---|
15 | *) |
---|
16 | if test "${RTEMS_HAS_POSIX_API}" = "yes"; then |
---|
17 | rtems_cv_HAS_POSIX_API="yes"; |
---|
18 | else |
---|
19 | rtems_cv_HAS_POSIX_API="disabled"; |
---|
20 | fi |
---|
21 | ;; |
---|
22 | esac]) |
---|
23 | if test "$rtems_cv_HAS_POSIX_API" = "yes"; then |
---|
24 | HAS_POSIX_API="yes"; |
---|
25 | else |
---|
26 | HAS_POSIX_API="no"; |
---|
27 | fi |
---|
28 | AC_SUBST(HAS_POSIX_API)dnl |
---|
29 | ]) |
---|
30 | |
---|
31 | AC_DEFUN(RTEMS_DEFINE_POSIX_API, |
---|
32 | [AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl |
---|
33 | AS_IF( |
---|
34 | [test x"${HAS_POSIX_API}" = x"yes"], |
---|
35 | [AC_DEFINE_UNQUOTED(RTEMS_POSIX_API,1,[if posix api is supported])]) |
---|
36 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.