source: rtems/aclocal/enable-posix.m4 @ 817466c

4.104.114.84.9
Last change on this file since 817466c was 7e03d10, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 29, 1999 at 9:08:04 PM

Patch from Ralf Corsepius <corsepiu@…>:

Yet some more modifications, I would recommend to be considered before
releasing a snapshot:

  1. Cleanup to aclocal/ cvs rm -f aclocal/cygwin.m4 cvs rm -f aclocal/exeext.m4

They are neither used nor needed anymore, however they also don't
disturb (we use autoconf-2.13's AC_EXEEXT instead, now)

----------

  1. rtems-rc-19990328-0.diff Some (minor) bug-fixes:
  • make/Templates/Makefile.inc.in: use the new installation directory ($(prefix)/ instead of $(prefix)/rtems/)
  • c/src/exec/score/tools/generic/Makefile.am: added line to include local.am
  • c/src/exec/score/tools/*/configure.in: added CVS Id header

----------

  1. rtems-rc-19990328-1.diff Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc.
  • autogen: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, use "find -print"
  • c/update-tools/cipolish: New script to beautify configure.in scripts
  • c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, added variable for perl scripts' subdirectory, use "find -print", cipolish support, new options -ac -am -ci.
  • aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4 (reduces size of configure.in scripts, eases splitting configure.in scripts).

----------

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