source: rtems/aclocal/enable-posix.m4 @ 77c81fd2

4.104.114.84.95
Last change on this file since 77c81fd2 was 9ec96478, checked in by Joel Sherrill <joel.sherrill@…>, on 03/19/99 at 21:54:36

Towards automake VIII patch from Ralf Corsepius <corsepiu@…>:

OK, I 've made up my mind to cut a big chunk of my automake-patches (:-).

Below you can find a drop-in replacement of the aclocal directory. It
contains a lot of new macro files, most of them are directly cut from rtems
top-level configure script, some are new some are identical to former
versions. The motivation behind these files is to reuse parts from rtems
current top-level configure.in script in up-coming subdirectory configure.in
scripts.

I'd like to ask you to untar the archive ontop of the source tree and to
add/commit these files to CVS. Adding these files should not have any
influence on RTEMS momentary configuration (except of you are required to
run aclocal -I aclocal && autoconf afterwards), because most of them
currently are not used at all.

---------

BTW: Please upgrade to autoconf-2.13 and automake-2.4, if you havn't done
this already (egcs/CVS require them, too). My upcoming automake files
require automake-2.4 which requires autoconf-2.13 or later.

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