source: rtems/aclocal/enable-inlines.m4 @ 98b30aa

Last change on this file since 98b30aa was 98b30aa, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/18/04 at 07:26:52

Fix m4-underquoting.

  • Property mode set to 100644
File size: 577 bytes
Line 
1dnl $Id$
2
3AC_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) ;;
11esac],[RTEMS_USE_MACROS=no])
12AC_SUBST(RTEMS_USE_MACROS)dnl
13
14AS_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.