From 908436c1ec62838e4efdabbc591ee92b817d25b7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 10 Aug 1999 15:38:09 +0000 Subject: New configuration files added by patch from Ralf Corsepius ". --- aclocal/check-posix.m4 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 aclocal/check-posix.m4 (limited to 'aclocal/check-posix.m4') diff --git a/aclocal/check-posix.m4 b/aclocal/check-posix.m4 new file mode 100644 index 0000000000..43d175deac --- /dev/null +++ b/aclocal/check-posix.m4 @@ -0,0 +1,27 @@ +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_POSIX_API, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP supports libposix], + rtems_cv_HAS_POSIX_API, + [dnl + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + 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 +]) -- cgit v1.2.3