source: rtems/aclocal/enable-posix.m4 @ 0ab65474

4.104.114.84.95
Last change on this file since 0ab65474 was 96344c8, checked in by Joel Sherrill <joel.sherrill@…>, on 11/30/99 at 13:49:04

Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@…>
which (among other things) converted the mptests to automake.

SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
(apparently a leftover from moving the start* directories)

Addtional major bugs:

  • psxtests/include was empty (incomplete psxtests changes).
  • bogus handling of *.scn in itrontests (screens/sptests vs. screens/itrontests installation dirs)

In addition I have added a few more changes (I couldn't resist)

  • automake support for itrontests
  • OPERATION_COUNT support in tmitrontests/
  • automake support for tmitrontests
  • automake suppport for mptests
  • Some (minor) corrections to several configure.in/Makefile.ams

=> c/src/tests/ is completly under automake control, now.
=> we could start to sort out the structural issues with c/src/tests

(tests/support, stubdr, tools, get "make dist" working)

  • Property mode set to 100644
File size: 802 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[  --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
15changequote(,)dnl
16case "${target}" in
17  # hpux unix port should go here
18  i[3456]86-pc-linux*)         # unix "simulator" port
19        RTEMS_HAS_POSIX_API=no
20        ;;
21  i[3456]86-*freebsd2*) # unix "simulator" port
22        RTEMS_HAS_POSIX_API=no
23        ;;
24  no_cpu-*rtems*)
25        RTEMS_HAS_POSIX_API=no
26        ;;
27  sparc-sun-solaris*)             # unix "simulator" port
28        RTEMS_HAS_POSIX_API=no
29        ;;
30  *)
31        ;;
32esac
33changequote([,])dnl
34AC_SUBST(RTEMS_HAS_POSIX_API)
35])
Note: See TracBrowser for help on using the repository browser.