4.104.114.84.95
Last change
on this file since f22ebf0 was
ed8ec1c,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/17/02 at 08:52:47
|
2002-06-17 Ralf Corsepius <corsepiu@…>
- copied over from aclocal/.
|
-
Property mode set to
100644
|
File size:
576 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],[enable RTEMS inline functions (default:enabled, disable to use macros)]), |
---|
6 | [case "${enableval}" in |
---|
7 | yes) RTEMS_USE_MACROS=no ;; |
---|
8 | no) RTEMS_USE_MACROS=yes ;; |
---|
9 | *) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;; |
---|
10 | esac],[RTEMS_USE_MACROS=no]) |
---|
11 | AC_SUBST(RTEMS_USE_MACROS)dnl |
---|
12 | |
---|
13 | if test x"${RTEMS_USE_MACROS}" = x"yes"; |
---|
14 | then |
---|
15 | AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros]) |
---|
16 | else |
---|
17 | AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines]) |
---|
18 | fi |
---|
19 | |
---|
20 | |
---|
21 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.