forked from Imagelibrary/rtems
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)
36 lines
802 B
Plaintext
36 lines
802 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN(RTEMS_ENABLE_POSIX,
|
|
[
|
|
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
|
|
|
|
AC_ARG_ENABLE(posix,
|
|
[ --enable-posix enable posix interface],
|
|
[case "${enableval}" in
|
|
yes) RTEMS_HAS_POSIX_API=yes ;;
|
|
no) RTEMS_HAS_POSIX_API=no ;;
|
|
*) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
|
|
esac],[RTEMS_HAS_POSIX_API=yes])
|
|
|
|
changequote(,)dnl
|
|
case "${target}" in
|
|
# hpux unix port should go here
|
|
i[3456]86-pc-linux*) # unix "simulator" port
|
|
RTEMS_HAS_POSIX_API=no
|
|
;;
|
|
i[3456]86-*freebsd2*) # unix "simulator" port
|
|
RTEMS_HAS_POSIX_API=no
|
|
;;
|
|
no_cpu-*rtems*)
|
|
RTEMS_HAS_POSIX_API=no
|
|
;;
|
|
sparc-sun-solaris*) # unix "simulator" port
|
|
RTEMS_HAS_POSIX_API=no
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
changequote([,])dnl
|
|
AC_SUBST(RTEMS_HAS_POSIX_API)
|
|
])
|