Last change
on this file since d24f2bd was
97d5402,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/06/11 at 18:10:43
|
2011-07-06 Joel Sherrill <joel.sherrill@…>
- aclocal/check-multiprocessing.m4, aclocal/check-networking.m4,
aclocal/check-posix.m4, aclocal/check-smp.m4,
aclocal/env-rtemscpu.m4: New files.
|
-
Property mode set to
100644
|
File size:
949 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN([RTEMS_CHECK_NETWORKING], |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
---|
6 | AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl |
---|
7 | |
---|
8 | AC_CACHE_CHECK([whether CPU supports networking], |
---|
9 | rtems_cv_HAS_NETWORKING, |
---|
10 | [dnl |
---|
11 | case "$host" in |
---|
12 | *-*-rtems*) |
---|
13 | AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[ |
---|
14 | # suppress libnetworking if one these types is not available |
---|
15 | AS_IF([test x"$ac_cv_type_int8_t" = xyes \ |
---|
16 | && test x"$ac_cv_type_uint8_t" = xyes \ |
---|
17 | && test x"$ac_cv_type_int16_t" = xyes \ |
---|
18 | && test x"$ac_cv_type_uint16_t" = xyes \ |
---|
19 | && test x"$ac_cv_type_int32_t" = xyes \ |
---|
20 | && test x"$ac_cv_type_uint32_t" = xyes \ |
---|
21 | && test x"$ac_cv_type_int64_t" = xyes \ |
---|
22 | && test x"$ac_cv_type_uint64_t" = xyes], |
---|
23 | [rtems_cv_HAS_NETWORKING=yes], |
---|
24 | [rtems_cv_HAS_NETWORKING=no]) |
---|
25 | ],[ |
---|
26 | rtems_cv_HAS_NETWORKING=disabled |
---|
27 | ]) |
---|
28 | ;; |
---|
29 | esac |
---|
30 | ]) |
---|
31 | ]) |
---|
32 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.