source: rtems/aclocal/enable-posix.m4 @ 92ba0476

Last change on this file since 92ba0476 was 92ba0476, checked in by Joel Sherrill <joel.sherrill@…>, on 04/18/00 at 13:18:34

Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
from Ralf Corsepius <corsepiu@…> that address the following:

  • NoSource?: 0, 1 in rpm-specs does not work anymore under SuSE-6.4 (rpm-3.0.4), putting each NoSource?: onto a separate line however seems to work. Unfortunately, I don't know the actual cause for this, esp. if SuSE broke it or if rpm-specs specification has changed (i.e. Redhat broke it up).
  • Add *.spec to several .cvsignores (Prevents cvs from complaining about <target>*.spec within the source-tree).
  • 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.