source: rtems/aclocal/check-posix.m4 @ c63a5cf

4.104.114.84.95
Last change on this file since c63a5cf was c63a5cf, checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/00 at 17:12:23

Patch rtems-rc-20000614-1-cvs.diff from Ralf Corsepius
<corsepiu@…> that addresses a couple of
minor configuration issues which popped up when
experimenting with multilibs.

Note: The multigen generated make/custom/bare-*.cfg will still be
non-functional, even after having applied this patch.

  • Property mode set to 100644
File size: 592 bytes
Line 
1dnl $Id$
2dnl
3AC_DEFUN(RTEMS_CHECK_POSIX_API,
4[dnl
5AC_REQUIRE([RTEMS_CHECK_CPU])dnl
6AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
7
8AC_CACHE_CHECK([whether BSP 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])
23if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
24  HAS_POSIX_API="yes";
25else
26  HAS_POSIX_API="no";
27fi
28AC_SUBST(HAS_POSIX_API)dnl
29])
Note: See TracBrowser for help on using the repository browser.