source: rtems/aclocal/enable-posix.m4 @ df49c60

4.104.114.84.9
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 804 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-*freebsd2*) # 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.