diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index a1168252f4..ee7ac547f6 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2011-02-25 Ralf Corsépius + + * aclocal/check-networking.m4, aclocal/check-posix.m4: + Rebase check on "$host". + 2011-02-25 Ralf Corsépius * libcsupport/src/creat.c: Remove. 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