source: rtems/c/src/lib/configure.in @ 45269dc

4.104.114.84.95
Last change on this file since 45269dc was 45269dc, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 11, 1999 at 3:34:26 PM

Patch from Ralf Corsepius <corsepiu@…> to move librdbg
to its own top level package.

  • 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(libmisc)
70
71AC_CONFIG_SUBDIRS($cfg_subdirs)
72
73PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
74AC_SUBST(PROJECT_INCLUDE)
75
76# try to explicitly list a Makefile here
77AC_OUTPUT(
78Makefile
79include/Makefile
80include/sys/Makefile
81include/motorola/Makefile
82include/zilog/Makefile
83libc/Makefile
84start/Makefile)
Note: See TracBrowser for help on using the repository browser.