forked from Imagelibrary/rtems
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following: * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4 (rpm-3.0.4), putting each NoSource: onto a separate line however seems to work. Unfortunately, I don't know the actual cause for this, esp. if SuSE broke it or if rpm-specs specification has changed (i.e. Redhat broke it up). * Add *.spec to several .cvsignores (Prevents cvs from complaining about <target>*.spec within the source-tree).
36 lines
804 B
Plaintext
36 lines
804 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[34567]86-pc-linux*) # unix "simulator" port
|
|
RTEMS_HAS_POSIX_API=no
|
|
;;
|
|
i[34567]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)
|
|
])
|