URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [posix/] [configure.in] - Rev 173
Compare with Previous | Blame | View Log
dnl Process this file with autoconf to produce a configure script.dnldnl $Id: configure.in,v 1.2 2001-09-27 11:59:13 chris Exp $AC_PREREQ(2.13)AC_INIT(optman)RTEMS_TOP(../../../..)AC_CONFIG_AUX_DIR(../../../..)RTEMS_CANONICAL_TARGET_CPUAM_INIT_AUTOMAKE(rtems-c-src-exec-posix,$RTEMS_VERSION,no)AM_MAINTAINER_MODERTEMS_ENABLE_MULTIPROCESSINGRTEMS_ENABLE_POSIXRTEMS_ENABLE_INLINESRTEMS_ENV_RTEMSBSPRTEMS_CHECK_CPURTEMS_CANONICAL_HOSTRTEMS_PROJECT_ROOTRTEMS_PROG_CC_FOR_TARGETRTEMS_CANONICALIZE_TOOLS# Check if there is custom/*.cfg for this BSPRTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)RTEMS_CHECK_POSIX_API(RTEMS_BSP)# If RTEMS macros are enabled, then use them. Otherwise, use inlines.if test "$RTEMS_USE_MACROS" = "yes"; thenINLINEdir="macros"if test "$HAS_POSIX_API" = "yes"; then# The problem is that there is currently no code in posix/macros :)AC_MSG_ERROR(Macros are not implemented for the POSIX API)fielseINLINEdir="inline"fiAM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )## Needed when using automake for libs/relsRTEMS_CHECK_NEWLIB## Refuse to build if bsp does not support libposixif test "$HAS_POSIX_API" != "yes"; thenAC_MSG_ERROR([BSP $RTEMS_BSP does not support libposix])fi# If RTEMS macros are enabled, then use them. Otherwise, refuse to buildif test "$RTEMS_USE_MACROS" = "yes"; then# The problem is that there is currently no code in posix/macros :)AC_MSG_ERROR(Macros are not implemented for the POSIX API)fi#### FIXME: We configure and build the macros subdirectory, too.## Should probably use AM_CONDITIONALs to disable them in future# Explicitly list all Makefiles hereAC_OUTPUT(Makefilesrc/Makefileinclude/Makefileinclude/sys/Makefileinclude/rtems/Makefileinclude/rtems/posix/Makefileoptman/Makefileinline/Makefileinline/rtems/Makefileinline/rtems/posix/Makefilemacros/Makefilemacros/rtems/Makefilemacros/rtems/posix/Makefile)
