summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-25 03:58:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-25 03:58:33 +0000
commit8dc08d237971dceafca91a88de2a6ea03ad1b825 (patch)
treeccda02ac1b57b7ce22cebc465d713a6c5f5bc7b1 /cpukit/aclocal
parent2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8dc08d237971dceafca91a88de2a6ea03ad1b825.tar.bz2
2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-networking.m4, aclocal/check-posix.m4: Rebase check on "$host".
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r--cpukit/aclocal/check-networking.m44
-rw-r--r--cpukit/aclocal/check-posix.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/aclocal/check-networking.m4 b/cpukit/aclocal/check-networking.m4
index 82fc237076..1b8fe38fd9 100644
--- a/cpukit/aclocal/check-networking.m4
+++ b/cpukit/aclocal/check-networking.m4
@@ -8,8 +8,8 @@ AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
AC_CACHE_CHECK([whether CPU supports networking],
rtems_cv_HAS_NETWORKING,
[dnl
- case "$RTEMS_CPU" in
- *)
+ case "$host" in
+ *-*-rtems*)
AS_IF([test "${RTEMS_HAS_NETWORKING}" = "yes"],[
# suppress libnetworking if one these types is not available
AS_IF([test x"$ac_cv_type_int8_t" = xyes \
diff --git a/cpukit/aclocal/check-posix.m4 b/cpukit/aclocal/check-posix.m4
index 7cf600d92d..a00dc2456b 100644
--- a/cpukit/aclocal/check-posix.m4
+++ b/cpukit/aclocal/check-posix.m4
@@ -8,8 +8,8 @@ AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
AC_CACHE_CHECK([whether CPU supports libposix],
rtems_cv_HAS_POSIX_API,
[dnl
- case "$RTEMS_CPU" in
- *)
+ case "$host" in
+ *-*-rtems*)
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
rtems_cv_HAS_POSIX_API="yes";
else