forked from Imagelibrary/rtems
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: ----------------------------------------------------------------------
23 lines
615 B
Plaintext
23 lines
615 B
Plaintext
dnl $Id$
|
|
|
|
AC_DEFUN(RTEMS_ENABLE_INLINES,
|
|
[AC_ARG_ENABLE(rtems-inlines,
|
|
[ --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
|
|
|
|
|
|
])
|