summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/aclocal/check-networking.m44
-rw-r--r--cpukit/aclocal/check-posix.m44
3 files changed, 9 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index a1168252f4..ee7ac547f6 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2011-02-25 Ralf Cors├ępius <ralf.corsepius@rtems.org>
+ * aclocal/check-networking.m4, aclocal/check-posix.m4:
+ Rebase check on "$host".
+
+2011-02-25 Ralf Cors├ępius <ralf.corsepius@rtems.org>
+
* libcsupport/src/creat.c: Remove.
* libcsupport/Makefile.am: Reflect changes above.
* configure.ac: Error out if libc doesn't provide creat.
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