Files
rtems/aclocal/enable-inlines.m4
Ralf Corsepius 314a962f43 2002-10-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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).
2002-10-29 14:37:34 +00:00

23 lines
579 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
])