source: rtems/c/src/make/configure.ac @ f2e0f8e

5
Last change on this file since f2e0f8e was e7fade3, checked in by Daniel Hellstrom <daniel@…>, on Nov 28, 2011 at 8:52:03 AM

DRVMGR: added driver manager to cpukit/libdrvmgr

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