source: rtems/aclocal/enable-posix.m4 @ 03d5706

4.104.114.84.95
Last change on this file since 03d5706 was 3207f0a, checked in by Joel Sherrill <joel.sherrill@…>, on 06/16/00 at 13:05:19

Patch from James Housley <jim@…> to address FreeBSD 4.x
build issues.

  • Property mode set to 100644
File size: 803 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENABLE_POSIX,
4[
5## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
6
7AC_ARG_ENABLE(posix,
8[  --enable-posix                       enable posix interface],
9[case "${enableval}" in
10  yes) RTEMS_HAS_POSIX_API=yes ;;
11  no) RTEMS_HAS_POSIX_API=no ;;
12  *)  AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
13esac],[RTEMS_HAS_POSIX_API=yes])
14
15changequote(,)dnl
16case "${target}" in
17  # hpux unix port should go here
18  i[34567]86-pc-linux*)         # unix "simulator" port
19        RTEMS_HAS_POSIX_API=no
20        ;;
21  i[34567]86-*freebsd*) # unix "simulator" port
22        RTEMS_HAS_POSIX_API=no
23        ;;
24  no_cpu-*rtems*)
25        RTEMS_HAS_POSIX_API=no
26        ;;
27  sparc-sun-solaris*)             # unix "simulator" port
28        RTEMS_HAS_POSIX_API=no
29        ;;
30  *)
31        ;;
32esac
33changequote([,])dnl
34AC_SUBST(RTEMS_HAS_POSIX_API)
35])
Note: See TracBrowser for help on using the repository browser.