4.104.114.84.95
Last change
on this file since 54508fd was
e05468fb,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/06/02 at 11:16:52
|
2002-11-06 Ralf Corsepius <corsepiu@…>
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.
|
-
Property mode set to
100644
|
File size:
575 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | AC_DEFUN(RTEMS_ENABLE_INLINES, |
---|
4 | [AC_ARG_ENABLE(rtems-inlines, |
---|
5 | [AC_HELP_STRING([--enable-rtems-inlines], |
---|
6 | [enable RTEMS inline functions (default:enabled, disable to use macros)])], |
---|
7 | [case "${enableval}" in |
---|
8 | yes) RTEMS_USE_MACROS=no ;; |
---|
9 | no) RTEMS_USE_MACROS=yes ;; |
---|
10 | *) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;; |
---|
11 | esac],[RTEMS_USE_MACROS=no]) |
---|
12 | AC_SUBST(RTEMS_USE_MACROS)dnl |
---|
13 | |
---|
14 | AS_IF([test x"${RTEMS_USE_MACROS}" = x"yes"], |
---|
15 | [AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])], |
---|
16 | [AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])]) |
---|
17 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.