summaryrefslogtreecommitdiffstats
path: root/aclocal/check-multiprocessing.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 20:13:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 20:13:35 +0000
commit04e6f7bffb71106516097299e37f57bb28cf9844 (patch)
tree8442c8591d6021418c7e2a8cb681b358fdd41b3d /aclocal/check-multiprocessing.m4
parent6c5aba209a5603cdad076d5acb4c0ea5d6922609 (diff)
downloadrtems-04e6f7bffb71106516097299e37f57bb28cf9844.tar.bz2
Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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: ----------------------------------------------------------------------
Diffstat (limited to 'aclocal/check-multiprocessing.m4')
-rw-r--r--aclocal/check-multiprocessing.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/aclocal/check-multiprocessing.m4 b/aclocal/check-multiprocessing.m4
index e2bbe80b48..e5ddc8fbe0 100644
--- a/aclocal/check-multiprocessing.m4
+++ b/aclocal/check-multiprocessing.m4
@@ -35,4 +35,10 @@ else
HAS_MP="no"
fi
AC_SUBST(HAS_MP)
+
+if test x"${HAS_MP}" = x"yes";
+then
+ AC_DEFINE_UNQUOTED(RTEMS_MULTIPROCESSING,1,[if multiprocessing is supported])
+fi
+
])