source: rtems/c/src/aclocal/enable-posix.m4 @ 477180fa

4.104.114.84.9
Last change on this file since 477180fa was 477180fa, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 2, 2004 at 6:13:10 PM

2004-02-02 Ralf Corsepius <corsepiu@…>

  • aclocal/check-multiprocessing.m4: Remove AC_SUBST(HAS_MP). Add AM_CONDITIONAL(HAS_MP).
  • wrapup/Makefile.am: Fix path to ../libchip/shmdr.rel.
  • configure.ac: Remove AM_CONDITIONAL(HAS_MP).
  • aclocal/enable-cxx.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rdbg.m4, aclocal/multilib.m4: Use AS_HELP_STRING instead of AC_HELP_STRING (Deprecated by autoconf 2.59).
  • Property mode set to 100644
File size: 761 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[AS_HELP_STRING(--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
15case "${host}" in
16  # hpux unix port should go here
17  i[[34567]]86-pc-linux*)         # unix "simulator" port
18        RTEMS_HAS_POSIX_API=no
19        ;;
20  i[[34567]]86-*freebsd*) # unix "simulator" port
21        RTEMS_HAS_POSIX_API=no
22        ;;
23  no_cpu-*rtems*)
24        RTEMS_HAS_POSIX_API=no
25        ;;
26  sparc-sun-solaris*)             # unix "simulator" port
27        RTEMS_HAS_POSIX_API=no
28        ;;
29  *)
30        ;;
31esac
32AC_SUBST(RTEMS_HAS_POSIX_API)
33])
Note: See TracBrowser for help on using the repository browser.