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 /testsuites/ada | |
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 'testsuites/ada')
-rw-r--r-- | testsuites/ada/aclocal/prog-gnat.m4 | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/testsuites/ada/aclocal/prog-gnat.m4 b/testsuites/ada/aclocal/prog-gnat.m4 deleted file mode 100644 index a2b2879c7d..0000000000 --- a/testsuites/ada/aclocal/prog-gnat.m4 +++ /dev/null @@ -1,44 +0,0 @@ -## -## Partially borrowed from gcc-3.2 -## -## WARNING: All the stuff below is pretty immature. - -AC_DEFUN([RTEMS_PROG_GNAT], -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX]) -AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET]) - -AC_CHECK_TOOL([GNATMAKE],[gnatmake],[]) -AC_CACHE_CHECK([for compiler driver that understands Ada], - [rtems_cv_prog_CCADA], -[cat >conftest.adb <<EOF -procedure conftest is begin null; end conftest; -EOF -rtems_cv_prog_CCADA= -# Have to do ac_tool_prefix and user overrides by hand. -user_ccada=$CCADA -user_cc=$CC -for cand in ${ac_tool_prefix}$user_ccada $user_ccada \ - ${ac_tool_prefix}$user_cc $user_cc \ - ${ac_tool_prefix}gcc gcc \ - ${ac_tool_prefix}cc cc \ - ${ac_tool_prefix}gnatgcc gnatgcc \ - ${ac_tool_prefix}gnatcc gnatcc \ - ${ac_tool_prefix}adagcc adagcc \ - ${ac_tool_prefix}adac adac ; do - # There is a bug in all released versions of GCC which causes the - # driver to exit successfully when the appropriate language module - # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1. - # Therefore we must check for the error message as well as an - # unsuccessful exit. - errors=`($cand -c conftest.adb) 2>&1 || echo failure` - AS_IF([test -z "$errors"], - [rtems_cv_prog_CCADA=$cand - break]) -done -rm -f conftest.*]) -AC_SUBST([CCADA],[$rtems_cv_prog_CCADA]) - -AS_IF([test -n "$GNATMAKE" && test -n "$CCADA"], - [HAVE_GNAT=yes], - [HAVE_GNAT=no]) -]) |