source: rtems/c/src/lib/configure.in @ dd04e32

4.104.114.84.95
Last change on this file since dd04e32 was dd04e32, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 26, 1999 at 2:58:06 AM

Patch from Ralf Corsepius <corsepiu@…> to move
c/src/lib/libmisc to c/src/libmisc.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(libbsp)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE(rtems-c-src-lib,RTEMS_VERSION,no)
12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_NETWORKING
16RTEMS_ENABLE_RDBG
17RTEMS_ENABLE_LIBCDIR
18RTEMS_ENABLE_BARE
19RTEMS_ENABLE_HWAPI
20
21RTEMS_ENV_RTEMSBSP
22
23RTEMS_CHECK_CPU
24RTEMS_CANONICAL_HOST
25
26RTEMS_PROJECT_ROOT
27
28dnl check target cc
29RTEMS_PROG_CC_FOR_TARGET
30RTEMS_CANONICALIZE_TOOLS
31
32dnl if this is an i386, does gas have good code16 support?
33RTEMS_I386_GAS_CODE16
34AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
35
36RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
38RTEMS_CHECK_NETWORKING(RTEMS_BSP)
39
40AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
41
42# find all the CPU dependent library Makefiles
43AC_CONFIG_SUBDIRS(libcpu)
44AC_CONFIG_SUBDIRS(libbsp)
45
46RTEMS_ENABLE_HWAPI
47if test "$RTEMS_HAS_HWAPI" = "yes"; then
48  if test -d "${srcdir}/libhwapi"; then
49    cfg_subdirs="$cfg_subdirs libhwapi"
50  fi
51  LIBHWAPI="libhwapi"
52fi
53AC_SUBST(LIBHWAPI)
54
55if test -d "${srcdir}/start/$RTEMS_CPU"; then
56cfg_subdirs="$cfg_subdirs start/$RTEMS_CPU"
57RTEMS_CPU_STARTdir="$RTEMS_CPU"
58fi
59AC_SUBST(RTEMS_CPU_STARTdir)
60
61if test "$RTEMS_CPU" != "unix"; then
62## HACK: Suppress libchip for unix
63cfg_subdirs="$cfg_subdirs libchip"
64fi
65
66AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
67AM_CONDITIONAL(HAS_LIBCHIP,test "$RTEMS_CPU" != "unix")
68
69AC_CONFIG_SUBDIRS($cfg_subdirs)
70
71PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
72AC_SUBST(PROJECT_INCLUDE)
73
74# try to explicitly list a Makefile here
75AC_OUTPUT(
76Makefile
77include/Makefile
78include/sys/Makefile
79include/motorola/Makefile
80include/zilog/Makefile
81libc/Makefile
82start/Makefile)
Note: See TracBrowser for help on using the repository browser.