source: rtems/c/acinclude.m4 @ 1b16201e

4.104.114.84.95
Last change on this file since 1b16201e was 1b16201e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 2, 2003 at 1:43:48 AM

2003-10-01 Ralf Corsepius <corsepiu@…>

  • acinclude.m4: New. Add RTEMS_CHECK_CPU.
  • Property mode set to 100644
File size: 367 bytes
Line 
1dnl $Id$
2
3dnl check if RTEMS support a cpu
4AC_DEFUN(RTEMS_CHECK_CPU,
5[dnl
6AC_REQUIRE([RTEMS_TOP])
7AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
8
9# Is this a supported CPU?
10AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
11# FIXME: Temporary hack
12if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/$RTEMS_CPU"; then
13  AC_MSG_RESULT(yes)
14else
15  AC_MSG_ERROR(no)
16fi
17])dnl
18
Note: See TracBrowser for help on using the repository browser.