diff options
author | Joel Sherrill <joel@rtems.org> | 2021-11-24 12:03:57 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-11-29 09:05:10 -0600 |
commit | e945e3fc4d6a6a74789c9a348120ec7d06e19231 (patch) | |
tree | ada9d52d13385f9b1adc561eadf0adf47f3a112b /cpukit/aclocal/check-func.m4 | |
parent | bsp_specs: Delete last remnants of these. (diff) | |
download | rtems-e945e3fc4d6a6a74789c9a348120ec7d06e19231.tar.bz2 |
*/aclocal/*: Remove remnants of autoconf/automae build system
Updates #4081.
Diffstat (limited to 'cpukit/aclocal/check-func.m4')
-rw-r--r-- | cpukit/aclocal/check-func.m4 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cpukit/aclocal/check-func.m4 b/cpukit/aclocal/check-func.m4 deleted file mode 100644 index 36d700bcdd..0000000000 --- a/cpukit/aclocal/check-func.m4 +++ /dev/null @@ -1,21 +0,0 @@ -# Check whether FUNCTION is declared in INCLUDES -# and whether rtems_stub_FUNCTION or FUNCTION is supplied. - -# RTEMS_CHECK_FUNC(FUNCTION[,INCLUDES]) -AC_DEFUN([RTEMS_CHECK_FUNC], -[AC_REQUIRE([RTEMS_CHECK_NEWLIB]) -AC_CHECK_DECLS([$1],,,[$2]) - -AC_CACHE_CHECK([for $1],[ac_cv_$1],[ - AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[$2]],[[rtems_stub_$1()]])], - [ac_cv_$1="stub"], - [AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[$2]],[[$1()]])], - [ac_cv_$1="yes"], - [ac_cv_$1="no"]) - ]) - ]) -AS_IF([test "$ac_cv_$1" = yes], - [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_]$1),[1],[Define to 1 if you have the `$1' function.])]) -]) |