4.104.114.84.95
Last change
on this file since 85371f7 was
21d7de3a,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/02/01 at 18:30:42
|
2001-02-02 Ralf Corsepius <corsepiu@…>
- configre.in: Fix AM_INIT_AUTOMAKE.
- aclocal/bsp-arg-enable.m4: Extend comments.
- aclocal/check-bsps.m4: Remove extraneous comments, add test -d in
the default clause.
|
-
Property mode set to
100644
|
File size:
668 bytes
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE]) |
---|
4 | dnl |
---|
5 | dnl Accept --enable-FEATURE=<RTEMS_BSP>:<bsp-value> and |
---|
6 | dnl --enable-FEATURE=<value> in BSP-configure scripts. |
---|
7 | dnl |
---|
8 | dnl Configure scripts will receive <bsp-value> if <RTEMS_BSP> matches the |
---|
9 | dnl actual value of the shell variable RTEMS_BSP (cf. RTEMS_ENV_RTEMSBSP), |
---|
10 | dnl and the raw value passed to --enable-FEATURE otherwise. |
---|
11 | dnl |
---|
12 | AC_DEFUN(RTEMS_BSP_ARG_ENABLE, |
---|
13 | [AC_REQUIRE([RTEMS_ENV_RTEMSBSP]) |
---|
14 | AC_ARG_ENABLE([$1],[$2], |
---|
15 | [enableval=`echo "[$enable_]patsubst([$1], -, _)" | sed -e "s%^${RTEMS_BSP}:%%"` |
---|
16 | eval "[enable_]patsubst([$1], -, _)='$enableval'" |
---|
17 | $3],[$4]) |
---|
18 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.