summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/check-networking.m4
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/aclocal/check-networking.m4')
-rw-r--r--cpukit/aclocal/check-networking.m44
1 files changed, 2 insertions, 2 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 \