From 04e6f7bffb71106516097299e37f57bb28cf9844 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Jul 2000 20:13:35 +0000 Subject: Patch rtems-rc-20000705-3.diff from Ralf Corsepius 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: ---------------------------------------------------------------------- --- aclocal/check-itron.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'aclocal/check-itron.m4') diff --git a/aclocal/check-itron.m4 b/aclocal/check-itron.m4 index e30023b341..a5813878d7 100644 --- a/aclocal/check-itron.m4 +++ b/aclocal/check-itron.m4 @@ -5,7 +5,7 @@ AC_DEFUN(RTEMS_CHECK_ITRON_API, AC_REQUIRE([RTEMS_CHECK_CPU])dnl AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl -AC_CACHE_CHECK([whether BSP supports libitron], +AC_CACHE_CHECK([whether CPU supports libitron], rtems_cv_HAS_ITRON_API, [dnl case "$RTEMS_CPU" in @@ -26,4 +26,9 @@ else HAS_ITRON_API="no"; fi AC_SUBST(HAS_ITRON_API)dnl + +if test x"${HAS_ITRON_API}" = x"yes"; +then + AC_DEFINE_UNQUOTED(RTEMS_ITRON_API,1,[if itron api is supported]) +fi ]) -- cgit v1.2.3