source:
rtems/cpukit/acinclude.m4
@
10ae124c
Last change on this file since 10ae124c was 10ae124c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/05/04 at 06:12:14 | |
---|---|
|
|
File size: 350 bytes |
Rev | Line | |
---|---|---|
[3da33bf8] | 1 | # RTEMS_CPUOPT(NAME,CONDITION,VALUE,EXPLANATION) |
2 | ||
3 | AC_DEFUN([RTEMS_CPUOPT], | |
4 | [ | |
5 | if $2; then | |
[10ae124c] | 6 | cat >>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 | |
13 | AC_DEFINE([$1],[$3],[$4]) | |
[3da33bf8] | 14 | else |
[1bcbe41] | 15 | cat >>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.