summaryrefslogblamecommitdiffstats
path: root/c/src/exec/score/cpu/unix/configure.in
blob: e9ee7b9b9f67b42a24478b9227998f383e84b3f4 (plain) (tree)














































                                                                     
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$

AC_PREREQ(2.13)
AC_INIT(cpu.c)
RTEMS_TOP(../../../../../..)
AC_CONFIG_AUX_DIR(../../../../../..)

RTEMS_CANONICAL_TARGET_CPU

AM_INIT_AUTOMAKE(rtems-c-src-exec-score-cpu-unix,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE

RTEMS_ENABLE_LIBCDIR
RTEMS_ENABLE_MULTIPROCESSING

RTEMS_ENV_RTEMSBSP

RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST

RTEMS_PROJECT_ROOT

dnl check target cc
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS

# Check if there is custom/*.cfg for this BSP
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)

RTEMS_CHECK_NEWLIB
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)

# The only use of System V IPC is the UNIX port when multiprocessing.
if test "$HAS_MP" = "yes"; then
  RTEMS_CHECK_SYSV_UNIX
fi

PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
AC_SUBST(PROJECT_INCLUDE)

# Try to explicitly list a Makefile here 
AC_OUTPUT( 
Makefile
rtems/Makefile
rtems/score/Makefile)