source: rtems/cpukit/aclocal/enable-inlines.m4 @ 2ea1779

4.104.114.84.95
Last change on this file since 2ea1779 was 3da33bf8, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/20/03 at 07:02:53

2003-11-20 Ralf Corsepius <corsepiu@…>

  • acinclude.m4: New.
  • configure.ac: Don't use AUTOHEADER to generate cpuopts.h. Add local autoheader config.h.
  • aclocal/canonical-target-name.m4: Require AC_CANONICAL_HOST.
  • aclocal/enable-inlines.m4: Remove USE_MACROS (Unused).
  • Property mode set to 100644
File size: 522 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
13AS_IF([test x"${RTEMS_USE_MACROS}" = x"yes"],[],[
14  AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])
15])
16
17
18])
Note: See TracBrowser for help on using the repository browser.