URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rtems-20020807/] [aclocal/] [check-multiprocessing.m4] - Rev 1781
Go to most recent revision | Compare with Previous | Blame | View Log
dnl dnl check-multiprocessing.m4,v 1.11 2002/06/30 06:27:36 ralf Exp dnl AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, [dnl AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl AC_REQUIRE([RTEMS_TOP])dnl AC_REQUIRE([RTEMS_CHECK_CPU])dnl AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl AC_REQUIRE([RTEMS_BSP_ALIAS])dnl AC_CACHE_CHECK([if wanting multiprocessing], [rtems_cv_want_multiprocessing], [ AS_IF([test x"$multilib" = x"no"], [# no cpukit rtems_cv_want_multiprocessing="$enable_multiprocessing" ],[ #HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead rtems_cv_want_multiprocessing="$enable_multiprocessing" ]) ]) AS_IF([test "$rtems_cv_want_multiprocessing" = "yes"], [ AC_CACHE_CHECK([whether BSP supports multiprocessing], [rtems_cv_HAS_MP],[ if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then rtems_cv_HAS_MP="yes" ; else rtems_cv_HAS_MP="no"; fi ]) if test $rtems_cv_HAS_MP = "no"; then AC_MSG_ERROR([multiprocessing requested but not supported]) fi ],[rtems_cv_HAS_MP="no";]) AC_SUBST(HAS_MP,[$rtems_cv_HAS_MP]) ])
Go to most recent revision | Compare with Previous | Blame | View Log