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

5
Last change on this file since aa567bc1 was aa567bc1, checked in by Chris Johns <chrisj@…>, on 04/10/18 at 06:06:39

configure: Add subdir-objects to all automake flags.

This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.

This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.

Close #3387.

  • 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(../../..)
11RTEMS_SOURCE_TOP
12RTEMS_BUILD_TOP
13AC_SUBST(RTEMS_TOPdir,../../..)
14
15RTEMS_CANONICAL_TARGET_CPU
16
17AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
18AM_MAINTAINER_MODE
19
20RTEMS_VERSIONING
21RTEMS_ENABLE_MULTIPROCESSING
22RTEMS_ENABLE_POSIX
23RTEMS_ENABLE_NETWORKING
24RTEMS_ENABLE_CXX
25RTEMS_ENABLE_DRVMGR
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_POSIX_API(RTEMS_BSP)
67RTEMS_CHECK_CXX(RTEMS_BSP)
68
69AC_SUBST(rtems_cv_prog_cc_cross)
70AC_SUBST(RTEMS_HAS_CPLUSPLUS)
71AC_SUBST(program_prefix)
72AC_SUBST(CC_CFLAGS_DEFAULT)
73AC_SUBST(CC_CFLAGS_DEBUG_V)
74AC_SUBST(RTEMS_API,[_RTEMS_API])
75
76cfg_dir="${RTEMS_TOPdir}/make"
77AC_SUBST(cfg_dir)
78
79# Symlink leaf.cfg from the source directory into the build directory.
80AC_CONFIG_LINKS([leaf.cfg:leaf.cfg])
81
82# Explicitly list all Makefiles here
83AC_CONFIG_FILES([Makefile
84])
85AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.