diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-06 11:16:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-06 11:16:52 +0000 |
commit | e05468fb389fb745cabc4d1d5e2a4f0957a56f03 (patch) | |
tree | 6cbe0a8ff1493b1bd6d5f8963cb3d85bad8bd9ce /aclocal/enable-inlines.m4 | |
parent | 2002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-e05468fb389fb745cabc4d1d5e2a4f0957a56f03.tar.bz2 |
2002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Further preparations for autoconf > 2.52:
* aclocal/enable-inlines.m4: Use AS_IF instead of if/then/else.
* aclocal/quoting.m4: Use `eval echo $ac_args` to unquote $ac_arg.
* aclocal/target.m4: Use `eval echo $rtems_args` to unquote $ac_arg.
Diffstat (limited to 'aclocal/enable-inlines.m4')
-rw-r--r-- | aclocal/enable-inlines.m4 | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/aclocal/enable-inlines.m4 b/aclocal/enable-inlines.m4 index bf30ceedad..4e0eb80d24 100644 --- a/aclocal/enable-inlines.m4 +++ b/aclocal/enable-inlines.m4 @@ -11,12 +11,7 @@ AC_DEFUN(RTEMS_ENABLE_INLINES, 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 - AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines]) -fi - - +AS_IF([test x"${RTEMS_USE_MACROS}" = x"yes"], + [AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])], + [AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])]) ]) |