summaryrefslogtreecommitdiffstats
path: root/c/src/aclocal/check-posix.m4
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/aclocal/check-posix.m4')
-rw-r--r--c/src/aclocal/check-posix.m431
1 files changed, 0 insertions, 31 deletions
diff --git a/c/src/aclocal/check-posix.m4 b/c/src/aclocal/check-posix.m4
deleted file mode 100644
index 8ef64f06bc..0000000000
--- a/c/src/aclocal/check-posix.m4
+++ /dev/null
@@ -1,31 +0,0 @@
-AC_DEFUN([RTEMS_CHECK_POSIX_API],
-[dnl
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
-AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
-
-AC_CACHE_CHECK([whether CPU supports libposix],
- rtems_cv_HAS_POSIX_API,
- [dnl
- case "$RTEMS_CPU" in
- *)
- if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
- rtems_cv_HAS_POSIX_API="yes";
- else
- rtems_cv_HAS_POSIX_API="disabled";
- fi
- ;;
- esac])
-if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
- HAS_POSIX_API="yes";
-else
- HAS_POSIX_API="no";
-fi
-AC_SUBST(HAS_POSIX_API)dnl
-])
-
-AC_DEFUN([RTEMS_DEFINE_POSIX_API],
-[AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl
-AS_IF(
- [test x"${HAS_POSIX_API}" = x"yes"],
- [AC_DEFINE_UNQUOTED(RTEMS_POSIX_API,1,[if posix api is supported])])
-])