mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 12:18:21 +08:00
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
20 lines
418 B
Plaintext
20 lines
418 B
Plaintext
dnl
|
|
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 "$host" in
|
|
*-*-rtems*)
|
|
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
|
|
rtems_cv_HAS_POSIX_API="yes";
|
|
else
|
|
rtems_cv_HAS_POSIX_API="disabled";
|
|
fi
|
|
;;
|
|
esac])
|
|
])
|