source: rtems/c/src/make/configure.ac @ 2494cba

4.104.114.84.95
Last change on this file since 2494cba was 2494cba, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 9, 2004 at 10:41:30 AM

2004-03-09 Ralf Corsepius <corsepiu@…>

  • configure.ac: SIZE, NM, OBJCOPY.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5##
6## This script configures the configuration files below make/
7##
8
9AC_PREREQ(2.59)
10AC_INIT([rtems-c-src-make],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
11AC_CONFIG_SRCDIR([bsp.cfg.in])
12RTEMS_TOP(../../..)
13
14RTEMS_CANONICAL_TARGET_CPU
15
16AM_INIT_AUTOMAKE([no-define foreign 1.8])
17AM_MAINTAINER_MODE
18
19RTEMS_ENABLE_MULTIPROCESSING
20RTEMS_ENABLE_POSIX
21RTEMS_ENABLE_ITRON
22RTEMS_ENABLE_NETWORKING
23RTEMS_ENABLE_RDBG
24RTEMS_ENABLE_CXX
25RTEMS_ENABLE_BARE
26
27RTEMS_ENV_RTEMSBSP
28
29AC_PATH_PROG(CAT,cat)
30AC_PATH_PROG(CP,cp)
31AC_PATH_PROG(MV,mv)
32AC_PATH_PROG(LN,ln)
33AC_PROG_LN_S
34AC_PATH_PROG(CHMOD,chmod)
35AC_PATH_PROG(SORT,sort)
36
37AC_PATH_PROG(TOUCH,touch)
38AC_PATH_PROG(CMP,cmp)
39
40AC_PATH_PROG(SED,sed)
41AC_PATH_PROGS(M4,gm4 m4)
42
43RTEMS_PATH_KSH
44
45## BEGIN configure.target.in
46
47RTEMS_PROJECT_ROOT
48
49RTEMS_PROG_CC_FOR_TARGET
50
51## check for g++
52RTEMS_PROG_CXX_FOR_TARGET
53
54RTEMS_CANONICALIZE_TOOLS
55RTEMS_CHECK_TOOL(SIZE,size,:)
56RTEMS_CHECK_TOOL(NM,nm,:)
57RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:)
58
59## if this is an i386, does gas have good code16 support?
60RTEMS_I386_GAS_CODE16
61
62RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
63
64RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
65RTEMS_CHECK_NETWORKING(RTEMS_BSP)
66RTEMS_CHECK_RDBG(RTEMS_BSP)
67RTEMS_CHECK_POSIX_API(RTEMS_BSP)
68RTEMS_CHECK_CXX(RTEMS_BSP)
69RTEMS_CHECK_ITRON_API(RTEMS_BSP)
70
71AC_SUBST(rtems_cv_prog_cc_cross)
72AC_SUBST(RTEMS_HAS_CPLUSPLUS)
73AC_SUBST(BARE_CPU_CFLAGS)
74AC_SUBST(BARE_CPU_MODEL)
75AC_SUBST(program_prefix)
76AC_SUBST(CC_CFLAGS_DEFAULT)
77AC_SUBST(CC_CFLAGS_DEBUG_V)
78
79cfg_dir="${RTEMS_TOPdir}/make"
80AC_SUBST(cfg_dir)
81
82# Symlink leaf.cfg from the source directory into the build directory.
83AC_CONFIG_LINKS([leaf.cfg:leaf.cfg])
84
85# Explicitly list all Makefiles here
86AC_CONFIG_FILES([Makefile
87Makefile.inc
88host.cfg
89bsp.cfg
90])
91AC_CONFIG_FILES([target.cfg])
92AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.