blob: ef4268e84b79bbb93e6cb85f9c96ed947d25eb4f (
plain) (
tree)
|
|
# 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_UNQUOTED([$1],[$3],[$4])
else
cat >>cpuopts.tmp <<\_ACEOF
/* $4 */
/* #undef $1 */
_ACEOF
fi
])
|