summaryrefslogblamecommitdiffstats
path: root/cpukit/acinclude.m4
blob: fdf2bec89b7f01a80eda3103d429092fdf5ca10a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                                
             







                                                
      





                           
  
# RTEMS_CPUOPT(NAME,CONDITION,VALUE,EXPLANATION)

AC_DEFUN([RTEMS_CPUOPT],
[
  if $2; then
cat >>cpuopts.tmp <<\_ACEOF

/* $4 */
#define $1 $3
_ACEOF
## FIXME: Duplicate the define to the autoheader
## Sanity check - Should be removed in future
    AC_DEFINE([$1],[$3],[$4])
  else
cat >>cpuopts.tmp <<\_ACEOF

/* $4 */
/* #undef $1 */
_ACEOF
  fi
])