4.115
Last change
on this file since 054b1c6 was
44dd5dc4,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/06/11 at 11:03:33
|
2011-03-06 Ralf Corsépius <ralf.corsepius@…>
- aclocal/rtems-top.m4: Add pkgdatadir.
Override pkgdatadir to $(datadir)/rtems$_RTEMS_API.
- Makefile.am: Install make/Templates to pkgdatadir.
|
-
Property mode set to
100644
|
File size:
879 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | # AC_DISABLE_OPTION_CHECKING is not available before 2.62 |
---|
4 | AC_PREREQ(2.62) |
---|
5 | |
---|
6 | dnl |
---|
7 | dnl RTEMS_TOP($1) |
---|
8 | dnl |
---|
9 | dnl $1 .. relative path from this configure.in to the toplevel configure.in |
---|
10 | dnl |
---|
11 | AC_DEFUN([RTEMS_TOP], |
---|
12 | [dnl |
---|
13 | AC_REQUIRE([RTEMS_VERSIONING]) |
---|
14 | AC_REQUIRE([AC_DISABLE_OPTION_CHECKING]) |
---|
15 | AC_CONFIG_AUX_DIR([$1]) |
---|
16 | AC_CHECK_PROGS(MAKE, gmake make) |
---|
17 | AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl |
---|
18 | |
---|
19 | AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API]) |
---|
20 | |
---|
21 | RTEMS_TOPdir="$1"; |
---|
22 | AC_SUBST(RTEMS_TOPdir) |
---|
23 | |
---|
24 | dots=`echo $with_target_subdir|\ |
---|
25 | sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` |
---|
26 | PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' |
---|
27 | AC_SUBST(PROJECT_TOPdir) |
---|
28 | |
---|
29 | PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" |
---|
30 | AC_SUBST(PROJECT_ROOT) |
---|
31 | |
---|
32 | AC_MSG_CHECKING([for RTEMS Version]) |
---|
33 | AC_MSG_RESULT([_RTEMS_VERSION]) |
---|
34 | pkgdatadir="${datadir}"/rtems[]_RTEMS_API; |
---|
35 | AC_SUBST([pkgdatadir]) |
---|
36 | ])dnl |
---|
Note: See
TracBrowser
for help on using the repository browser.