source: rtems-schedsim/aclocal/enable-posix.m4

Last change on this file was 972ce8d, checked in by Joel Sherrill <joel.sherrill@…>, on 05/01/13 at 16:05:32

aclocal/*posix*.m4: Change so POSIX can be Enabled

The real RTEMS code ensures that POSIX is enabled only for targets
matching *-*-rtems*. The Scheduler Simulator runs natively.

  • Property mode set to 100644
File size: 525 bytes
Line 
1# ***** CHANGED FOR SCHEDULER SIMULATOR *****
2AC_DEFUN([RTEMS_ENABLE_POSIX],
3[
4## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
5
6AC_ARG_ENABLE(posix,
7[AS_HELP_STRING([--enable-posix],[enable posix interface])],
8[case "${enableval}" in
9  yes) RTEMS_HAS_POSIX_API=yes ;;
10  no) RTEMS_HAS_POSIX_API=no ;;
11  *)  AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
12esac],[RTEMS_HAS_POSIX_API=yes])
13
14#case "${host}" in
15#  no_cpu-*rtems*)
16#       RTEMS_HAS_POSIX_API=no
17#       ;;
18#  *)
19#       ;;
20#esac
21AC_SUBST(RTEMS_HAS_POSIX_API)
22])
Note: See TracBrowser for help on using the repository browser.