source: rtems/aclocal/enable-inlines.m4 @ 227ae749

4.104.114.84.95
Last change on this file since 227ae749 was 04e6f7bf, checked in by Joel Sherrill <joel.sherrill@…>, on 07/06/00 at 20:13:35

Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@…>
that is a somewhat experimental, multilib-related patch:

Changes:

  • Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP in configure.ins below exec/. At the moment, RTEMS_ENV_RTEMSCPU is more or less an optical change to emphasize that these subdirectories shall not depend on RTEMS_BSP than a real behavioral change.
  • Add AC_DEFINE_* to several aclocal/*.m4 macros to prepare autoheader/autoconf generated targopts.h and similiar configuration headers.
  • c/src/configure.in: remove exec from cfg_subdirs if multilibs are enabled (c/src is build per bsp, exec shall be build per cpu in c/ or from the toplevel in future, when multilibs are enabled.)

Notes:

  • This patch should not have any impact on the current building scheme.
  • --enable-multilib still does not work.
  • running bootstrap from the toplevel directory is required.

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------

  • Property mode set to 100644
File size: 615 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENABLE_INLINES,
4[AC_ARG_ENABLE(rtems-inlines,
5[  --enable-rtems-inlines               enable RTEMS inline functions]
6[                                       (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.