5
Line | |
---|
1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | |
---|
4 | AC_PREREQ([2.69]) |
---|
5 | AC_INIT([rtems-c-src-librtems++],[_RTEMS_VERSION],[https://devel.rtems.org/newticket],[rtems-c-src-librtems++]) |
---|
6 | AC_CONFIG_SRCDIR([include/rtems++]) |
---|
7 | RTEMS_TOP(../../..) |
---|
8 | |
---|
9 | RTEMS_CANONICAL_TARGET_CPU |
---|
10 | |
---|
11 | AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2]) |
---|
12 | AM_MAINTAINER_MODE |
---|
13 | |
---|
14 | RTEMS_ENABLE_CXX |
---|
15 | |
---|
16 | RTEMS_ENV_RTEMSBSP |
---|
17 | |
---|
18 | RTEMS_CHECK_CXX(RTEMS_BSP) |
---|
19 | ## check for g++ |
---|
20 | RTEMS_PROG_CXX_FOR_TARGET |
---|
21 | RTEMS_CANONICALIZE_TOOLS |
---|
22 | |
---|
23 | AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes") |
---|
24 | |
---|
25 | AC_LANG_PUSH(C++) |
---|
26 | AC_CHECK_HEADER([cstring],[],[AC_MSG_ERROR([Required header cstring not found])]) |
---|
27 | AC_CHECK_HEADER([cstdlib],[],[AC_MSG_ERROR([Required header cstdlib not found])]) |
---|
28 | AC_LANG_POP |
---|
29 | |
---|
30 | RTEMS_PROJECT_ROOT |
---|
31 | RTEMS_AMPOLISH3 |
---|
32 | |
---|
33 | # Explicitly list all Makefiles here |
---|
34 | AC_CONFIG_FILES([Makefile]) |
---|
35 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.