From 3da33bf8132ee46cb268ae732670bd0c534c3ada Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 20 Nov 2003 07:02:53 +0000 Subject: 2003-11-20 Ralf Corsepius * 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). --- cpukit/acinclude.m4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cpukit/acinclude.m4 (limited to 'cpukit/acinclude.m4') 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 +]) -- cgit v1.2.3