source: rtems/cpukit/acinclude.m4 @ 58ce601

4.104.114.84.95
Last change on this file since 58ce601 was 1bcbe41, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/27/03 at 14:36:23

2003-11-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: Use here-documents to generate cpuopts.tmp. Various fixes and changes to argument processing. Reflect changes to librpc Makefile.ams.
  • acinclude.m4: Use here-documents to generate cpuopts.tmp.
  • aclocal/check-itron.m4: Remove HAS_IRON_API.
  • aclocal/check-multiprocessing.m4: Remove HAS_MP.
  • aclocal/check-posix.m4: Remove HAS_POSIX_API.
  • Property mode set to 100644
File size: 351 bytes
Line 
1# RTEMS_CPUOPT(NAME,CONDITION,VALUE,EXPLANATION)
2
3AC_DEFUN([RTEMS_CPUOPT],
4[
5  if $2; then
6cat >>cpuopts.tmp <<\_ACEOF
7
8/* $4 */
9#define $1 $3
10_ACEOF
11## FIXME: Duplicate the define to the autoheader
12## Sanity check - Should be removed in future
13    AC_DEFINE([$1],[$3],[$4])
14  else
15cat >>cpuopts.tmp <<\_ACEOF
16
17/* $4 */
18/* #undef $1 */
19_ACEOF
20  fi
21])
Note: See TracBrowser for help on using the repository browser.