source: rtems/aclocal/enable-posix.m4 @ 78ffe89

4.104.114.84.95
Last change on this file since 78ffe89 was 78ffe89, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 15:50:20

Patch from Ralf Corsepius <corsepiu@…>

Removed all go32 configuration tests.

This patch also comments out some special treatment for Cygwin from
*.m4 macros. According to reports from David Fiddes. these should
not be necessary anymore.

  • Property mode set to 100644
File size: 829 bytes
RevLine 
[9ec96478]1dnl $Id$
2
3AC_DEFUN(RTEMS_ENABLE_POSIX,
4[
[b62a92c]5AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
6
[9ec96478]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])
[7e03d10]14AC_SUBST(RTEMS_HAS_POSIX_API)
[9ec96478]15
16changequote(,)dnl
17case "${target}" in
18  # hpux unix port should go here
19  i[3456]86-pc-linux*)         # unix "simulator" port
20        RTEMS_HAS_POSIX_API=no
21        ;;
22  i[3456]86-*freebsd2*) # unix "simulator" port
23        RTEMS_HAS_POSIX_API=no
24        ;;
25  no_cpu-*rtems*)
26        RTEMS_HAS_POSIX_API=no
27        ;;
28  sparc-sun-solaris*)             # unix "simulator" port
29        RTEMS_HAS_POSIX_API=no
30        ;;
31  *)
32        ;;
33esac
34changequote([,])dnl
35AC_SUBST(RTEMS_HAS_POSIX_API)
36])
Note: See TracBrowser for help on using the repository browser.