summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal
diff options
context:
space:
mode:
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