source: rtems/aclocal/enable-inlines.m4 @ 314a962

4.104.114.84.9
Last change on this file since 314a962 was 314a962, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 29, 2002 at 2:37:34 PM

2002-10-29 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-bare.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-cxx.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-inlines.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-itron.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-multiprocessing.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-networking.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-posix.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-rdbg.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-rtemsbsp.m4: Improve quoting of AC_HELP_STRING.
  • aclocal/enable-tests.m4: Improve quoting of AC_HELP_STRING. (autoconf > 2.54 seems to have problems with the old form of quoting).
  • Property mode set to 100644
File size: 579 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
14if test x"${RTEMS_USE_MACROS}" = x"yes";
15then
16  AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])
17else
18  AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])
19fi
20
21
22])
Note: See TracBrowser for help on using the repository browser.