source:
rtems/cpukit/itron/configure.ac
@
99db5e9
Last change on this file since 99db5e9 was 99db5e9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/09/02 at 05:33:57 | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[66387986] | 1 | ## Process this file with autoconf to produce a configure script. |
2 | ## | |
3 | ## $Id$ | |
[352c9b2] | 4 | |
[66387986] | 5 | AC_PREREQ(2.52) |
[47c0220] | 6 | AC_INIT([rtems-cpukit-itron],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) |
[66387986] | 7 | AC_CONFIG_SRCDIR([include/itronsys]) |
[705a0701] | 8 | RTEMS_TOP(../..) |
[da8f88a] | 9 | AC_CONFIG_AUX_DIR(../..) |
[352c9b2] | 10 | |
11 | RTEMS_CANONICAL_TARGET_CPU | |
12 | ||
[56a1ae36] | 13 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.6]) |
[352c9b2] | 14 | AM_MAINTAINER_MODE |
15 | ||
16 | RTEMS_ENABLE_ITRON | |
17 | RTEMS_ENABLE_INLINES | |
18 | ||
[04e6f7bf] | 19 | RTEMS_ENV_RTEMSCPU |
[352c9b2] | 20 | |
21 | RTEMS_CHECK_CPU | |
22 | RTEMS_CANONICAL_HOST | |
23 | ||
[53c3a2c6] | 24 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
[352c9b2] | 25 | RTEMS_CANONICALIZE_TOOLS |
[da8f88a] | 26 | AC_PROG_RANLIB |
[352c9b2] | 27 | |
[b2d72c67] | 28 | RTEMS_CHECK_ITRON_API |
[352c9b2] | 29 | |
30 | # If RTEMS macros are enabled, then use them. Otherwise, use inlines. | |
31 | if test "$RTEMS_USE_MACROS" = "yes"; then | |
32 | INLINEdir="macros" | |
33 | else | |
34 | INLINEdir="inline" | |
35 | fi | |
[99db5e9] | 36 | AC_SUBST(INLINEdir) |
[352c9b2] | 37 | AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" ) |
38 | AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" ) | |
39 | ||
40 | ## Needed when using automake for libs/rels | |
41 | RTEMS_CHECK_NEWLIB | |
42 | ||
[9d721178] | 43 | AM_CONFIG_HEADER([src/config.h]) |
[f42b726] | 44 | |
[352c9b2] | 45 | ## |
46 | ## FIXME: We configure and build the macros subdirectory, too. | |
47 | ## Should probably use AM_CONDITIONALs to disable them in future | |
[70810dc] | 48 | # Explicitly list all Makefiles here |
[99db5e9] | 49 | AC_CONFIG_FILES([Makefile]) |
[66387986] | 50 | AC_OUTPUT |
[352c9b2] | 51 |
Note: See TracBrowser
for help on using the repository browser.