1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.59) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-i386-pc386],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.9]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | RTEMS_CHECK_TOOL(OBJCOPY,objcopy,:) |
---|
17 | RTEMS_PROG_CCAS |
---|
18 | |
---|
19 | RTEMS_CHECK_NETWORKING |
---|
20 | |
---|
21 | RTEMS_BSPOPTS_SET([IDE_USE_PRIMARY_INTERFACE],[*],[1]) |
---|
22 | RTEMS_BSPOPTS_HELP([IDE_USE_PRIMARY_INTERFACE], |
---|
23 | [Determines, whether RTEMS will try to use the primary IDE interface. |
---|
24 | Disable it, if: |
---|
25 | - you have no primary IDE interface |
---|
26 | - or you have no disk attached to this interface |
---|
27 | - or you do not want to access disks attached to this interface]) |
---|
28 | |
---|
29 | RTEMS_BSPOPTS_SET([IDE_USE_SECONDARY_INTERFACE],[*],[0]) |
---|
30 | RTEMS_BSPOPTS_HELP([IDE_USE_SECONDARY_INTERFACE], |
---|
31 | [Determines, whether RTEMS will try to use the primary IDE interface. |
---|
32 | Enable it, if: |
---|
33 | - you have a secondary IDE interface |
---|
34 | - and you have at least one disk attached to this interface |
---|
35 | - and you do want to access disks attached to this interface]) |
---|
36 | |
---|
37 | ## if this is an i386, does gas have good code16 support? |
---|
38 | RTEMS_I386_GAS_CODE16 |
---|
39 | AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"]) |
---|
40 | |
---|
41 | AM_CONDITIONAL(HAS_NETWORKING,[test "$HAS_NETWORKING" = "yes"]) |
---|
42 | |
---|
43 | AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)']) |
---|
44 | |
---|
45 | RTEMS_CONFIG_BUILD_SUBDIRS(tools) |
---|
46 | |
---|
47 | AC_SUBST(RTEMS_BSP) |
---|
48 | |
---|
49 | # Explicitly list all Makefiles here |
---|
50 | AC_CONFIG_FILES([Makefile]) |
---|
51 | AC_OUTPUT |
---|