diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-20 07:02:53 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-20 07:02:53 +0000 |
commit | 3da33bf8132ee46cb268ae732670bd0c534c3ada (patch) | |
tree | 38a6a723888bd117c304c428dc411ca157fc4ff5 /cpukit/acinclude.m4 | |
parent | 2003-11-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-3da33bf8132ee46cb268ae732670bd0c534c3ada.tar.bz2 |
2003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New.
* configure.ac: Don't use AUTOHEADER to generate cpuopts.h.
Add local autoheader config.h.
* aclocal/canonical-target-name.m4: Require AC_CANONICAL_HOST.
* aclocal/enable-inlines.m4: Remove USE_MACROS (Unused).
Diffstat (limited to 'cpukit/acinclude.m4')
-rw-r--r-- | cpukit/acinclude.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/acinclude.m4 b/cpukit/acinclude.m4 new file mode 100644 index 0000000000..8cceb11682 --- /dev/null +++ b/cpukit/acinclude.m4 @@ -0,0 +1,12 @@ +# RTEMS_CPUOPT(NAME,CONDITION,VALUE,EXPLANATION) + +AC_DEFUN([RTEMS_CPUOPT], +[ + echo >> cpuopts.tmp + echo "/* $4 */" >> cpuopts.tmp + if $2; then + echo "#define $1 $3" >> cpuopts.tmp + else + echo "/* #undef $1 */" >> cpuopts.tmp + fi +]) |