source: rtems/aclocal/enable-inlines.m4 @ e712997

4.104.114.84.95
Last change on this file since e712997 was e712997, checked in by Joel Sherrill <joel.sherrill@…>, on 09/13/01 at 13:14:30

2001-07-19 Ralf Corsepius <corsepiu@…>

  • configure.in: autoupdate to autoconf-2.52.
  • bootstrap: Add handling for configure.ac, make autoheader verbose, fix auto*tool invocation order.
  • aclocal/rtems-test-no-pause.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-bare.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-cxx.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-gcc28: Introduce AC_HELP_STRING.
  • aclocal/enable-inlines.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-itron.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-libcdir.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-multiprocessing.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-networking.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-posix.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-rdbg.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-rtemsbsp.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-tests.m4: Introduce AC_HELP_STRING.
  • aclocal/env-rtemsbsp.m4: Add AC_ARC_VAR(RTEMS_BSP), apply true in RTEMS_CONFIG_PER_BSP conditional.
  • aclocal/multilib.m4: Introduce AC_HELP_STRING.
  • aclocal/rtems-debug.m4: Introduce AC_HELP_STRING.
  • aclocal/rtems-top.m4: Add AC_PREFIX_DEFAULT(/opt/rtems).
  • Property mode set to 100644
File size: 576 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENABLE_INLINES,
4[AC_ARG_ENABLE(rtems-inlines,
5AC_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) ;;
10esac],[RTEMS_USE_MACROS=no])
11AC_SUBST(RTEMS_USE_MACROS)dnl
12
13if test x"${RTEMS_USE_MACROS}" = x"yes";
14then
15  AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])
16else
17  AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])
18fi
19
20
21])
Note: See TracBrowser for help on using the repository browser.