4.104.114.84.95
Last change
on this file since 73defea0 was
ba748523,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/20/01 at 17:33:23
|
2001-12-20 Ralf Corsepius <corsepiu@…>
- configure.ac: Reworked for multilibs, reflect changes to aclocal/*.m4.
- aclocal/subdirs.m4: New file.
- aclocal/multi.m4: New file, adopted from autoconf-2.52 w/
modifications.
- aclocal/check-posix.m4: Apply AS_IF.
- aclocal/config-subdirs.m4: Reflect changes to other m4-macros.
- aclocal/env-rtemsbsp.m4: Add PROJECT_INCLUDE, PROJECT_RELEASE.
Add AM_CONDITIONAL(MULTILIB). Adapt GCC_SPECS to multilibs.
- aclocal/env-rtemscpu.m4: Remove RTEMS_BSP. Add support for
MULTIBUILDTOP, MULTISUBDIR. Adapt GCC_SPECS to multilibs.
Add PROJECT_INCLUDE, PROJECT_RELEASE, includedir, libdir.
- aclocal/multilib.m4: Fix m4-quoting, adopt automake-1.5's
OUTPUT_COMMANDS.
- aclocal/project-root.m4: Remove PROJECT_INCLUDE, PROJECT_RELEASE.
- aclocal/rtems-debug.m4: Minor cleanups.
- aclocal/rtems-top.m4: Minor cleanups.
- automake/compile.am: Further steps towards automake's rules.
|
-
Property mode set to
100644
|
File size:
786 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN(RTEMS_CHECK_POSIX_API, |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_CHECK_CPU])dnl |
---|
6 | AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl |
---|
7 | |
---|
8 | AC_CACHE_CHECK([whether CPU supports libposix], |
---|
9 | rtems_cv_HAS_POSIX_API, |
---|
10 | [dnl |
---|
11 | case "$RTEMS_CPU" in |
---|
12 | unix*) |
---|
13 | rtems_cv_HAS_POSIX_API="no" |
---|
14 | ;; |
---|
15 | *) |
---|
16 | if test "${RTEMS_HAS_POSIX_API}" = "yes"; then |
---|
17 | rtems_cv_HAS_POSIX_API="yes"; |
---|
18 | else |
---|
19 | rtems_cv_HAS_POSIX_API="disabled"; |
---|
20 | fi |
---|
21 | ;; |
---|
22 | esac]) |
---|
23 | if test "$rtems_cv_HAS_POSIX_API" = "yes"; then |
---|
24 | HAS_POSIX_API="yes"; |
---|
25 | else |
---|
26 | HAS_POSIX_API="no"; |
---|
27 | fi |
---|
28 | AC_SUBST(HAS_POSIX_API)dnl |
---|
29 | ]) |
---|
30 | |
---|
31 | AC_DEFUN(RTEMS_DEFINE_POSIX_API, |
---|
32 | [AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl |
---|
33 | AS_IF( |
---|
34 | [test x"${HAS_POSIX_API}" = x"yes"], |
---|
35 | [AC_DEFINE_UNQUOTED(RTEMS_POSIX_API,1,[if posix api is supported])]) |
---|
36 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.