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/aclocal | |
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/aclocal')
-rw-r--r-- | cpukit/aclocal/canonical-target-name.m4 | 3 | ||||
-rw-r--r-- | cpukit/aclocal/enable-inlines.m4 | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/cpukit/aclocal/canonical-target-name.m4 b/cpukit/aclocal/canonical-target-name.m4 index ff1750111b..963a71cda3 100644 --- a/cpukit/aclocal/canonical-target-name.m4 +++ b/cpukit/aclocal/canonical-target-name.m4 @@ -9,8 +9,7 @@ dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them dnl and we have to fix it for rtems ourselves AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU], -[ -AC_CANONICAL_HOST +[AC_REQUIRE([AC_CANONICAL_HOST]) AC_MSG_CHECKING(rtems target cpu) case "${host}" in # hpux unix port should go here diff --git a/cpukit/aclocal/enable-inlines.m4 b/cpukit/aclocal/enable-inlines.m4 index 972f78b733..f3853587ca 100644 --- a/cpukit/aclocal/enable-inlines.m4 +++ b/cpukit/aclocal/enable-inlines.m4 @@ -10,12 +10,9 @@ AC_HELP_STRING([--enable-rtems-inlines],[enable RTEMS inline functions (default: esac],[RTEMS_USE_MACROS=no]) AC_SUBST(RTEMS_USE_MACROS)dnl -if test x"${RTEMS_USE_MACROS}" = x"yes"; -then - AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros]) -else +AS_IF([test x"${RTEMS_USE_MACROS}" = x"yes"],[],[ AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines]) -fi +]) ]) |