summaryrefslogblamecommitdiffstats
path: root/cpukit/acinclude.m4
blob: a01901df7880bd97dbf3d4283246e5850164edb6 (plain) (tree)
1
2
3
4
5
6



                                                
             
                          






                                                
      





                           
  
# 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
])