source: rtems/c/src/aclocal/enable-posix.m4 @ 39c37b3

4.104.11
Last change on this file since 39c37b3 was 39c37b3, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 14, 2009 at 12:20:20 PM

Remove posix/unix.

  • Property mode set to 100644
File size: 477 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  no_cpu-*rtems*)
17        RTEMS_HAS_POSIX_API=no
18        ;;
19  *)
20        ;;
21esac
22AC_SUBST(RTEMS_HAS_POSIX_API)
23])
Note: See TracBrowser for help on using the repository browser.