source: rtems/cpukit/aclocal/enable-posix.m4 @ ffbeb6f

4.115
Last change on this file since ffbeb6f was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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