mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
* 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).
22 lines
576 B
Plaintext
22 lines
576 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN(RTEMS_ENABLE_INLINES,
|
|
[AC_ARG_ENABLE(rtems-inlines,
|
|
AC_HELP_STRING([--enable-rtems-inlines],[enable RTEMS inline functions (default:enabled, disable to use macros)]),
|
|
[case "${enableval}" in
|
|
yes) RTEMS_USE_MACROS=no ;;
|
|
no) RTEMS_USE_MACROS=yes ;;
|
|
*) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
|
|
esac],[RTEMS_USE_MACROS=no])
|
|
AC_SUBST(RTEMS_USE_MACROS)dnl
|
|
|
|
if test x"${RTEMS_USE_MACROS}" = x"yes";
|
|
then
|
|
AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])
|
|
else
|
|
AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])
|
|
fi
|
|
|
|
|
|
])
|