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

4.115
Last change on this file since bd39add was bb2b825, checked in by Ralf Corsépius <ralf.corsepius@…>, on Jul 19, 2012 at 1:47:55 PM

Require automake-1.12.2.

  • 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],[http://www.rtems.org/bugzilla])
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
23
24RTEMS_ENV_RTEMSBSP
25
26AC_PATH_PROG(CAT,cat)
27AC_PATH_PROG(CP,cp)
28AC_PATH_PROG(MV,mv)
29AC_PATH_PROG(LN,ln)
30AC_PROG_LN_S
31AC_PATH_PROG(CHMOD,chmod)
32AC_PATH_PROG(SORT,sort)
33
34AC_PATH_PROG(TOUCH,touch)
35AC_PATH_PROG(CMP,cmp)
36
37AC_PATH_PROG(SED,sed)
38AC_PATH_PROGS(M4,gm4 m4)
39
40RTEMS_PATH_KSH
41
42## BEGIN configure.target.in
43
44RTEMS_PROJECT_ROOT
45
46RTEMS_PROG_CC_FOR_TARGET
47
48## check for g++
49RTEMS_PROG_CXX_FOR_TARGET
50
51RTEMS_CANONICALIZE_TOOLS
52RTEMS_CHECK_TOOL(SIZE,size,:)
53RTEMS_CHECK_TOOL(NM,nm,:)
54RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:)
55
56## if this is an i386, does gas have good code16 support?
57RTEMS_I386_GAS_CODE16
58
59RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
60
61RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
62RTEMS_CHECK_NETWORKING(RTEMS_BSP)
63RTEMS_CHECK_POSIX_API(RTEMS_BSP)
64RTEMS_CHECK_CXX(RTEMS_BSP)
65
66AC_SUBST(rtems_cv_prog_cc_cross)
67AC_SUBST(RTEMS_HAS_CPLUSPLUS)
68AC_SUBST(program_prefix)
69AC_SUBST(CC_CFLAGS_DEFAULT)
70AC_SUBST(CC_CFLAGS_DEBUG_V)
71AC_SUBST(RTEMS_API,[_RTEMS_API])
72
73cfg_dir="${RTEMS_TOPdir}/make"
74AC_SUBST(cfg_dir)
75
76# Symlink leaf.cfg from the source directory into the build directory.
77AC_CONFIG_LINKS([leaf.cfg:leaf.cfg])
78
79# Explicitly list all Makefiles here
80AC_CONFIG_FILES([Makefile
81])
82AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.