source: rtems/aclocal/enable-posix.m4 @ 183af89

4.11
Last change on this file since 183af89 was 33a105fb, checked in by Joel Sherrill <joel.sherrill@…>, on May 7, 2012 at 4:08:48 PM

Revert: Remove CVS Ids

See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.

  • Property mode set to 100644
File size: 481 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.