source: rtems/cpukit/acinclude.m4 @ dc2a1750

4.104.114.84.95
Last change on this file since dc2a1750 was a59e6c0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/12/04 at 10:55:57

2004-04-12 Ralf Corsepius <ralf_corsepius@…>

  • acinclude.m4 (RTEMS_CPUOPT): Use AC_DEFINE_UNQUOTED.
  • backward/motorola/mc68681.h, backward/motorola/mc68230.h, backward/zilog/z8536.h, backward/zilog/z8036.h, backward/zilog/z8030.h: New.
  • Makefile.am: Reflect having added new files above.
  • Property mode set to 100644
File size: 359 bytes
RevLine 
[3da33bf8]1# RTEMS_CPUOPT(NAME,CONDITION,VALUE,EXPLANATION)
2
3AC_DEFUN([RTEMS_CPUOPT],
4[
5  if $2; then
[10ae124c]6cat >>cpuopts.tmp <<_ACEOF
[1bcbe41]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
[a59e6c0]13    AC_DEFINE_UNQUOTED([$1],[$3],[$4])
[3da33bf8]14  else
[1bcbe41]15cat >>cpuopts.tmp <<\_ACEOF
16
17/* $4 */
18/* #undef $1 */
19_ACEOF
20  fi
[3da33bf8]21])
Note: See TracBrowser for help on using the repository browser.