4.104.114.84.95
Last change
on this file since c47c12b was
72f4ec87,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/29/02 at 15:54:00
|
2002-08-29 Ralf Corsepius <corsepiu@…>
- aclocal/bsp-configure.m4: Create bspopts.h on the fly, filter out
autoconf-2.53 PACKAGE crap.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | dnl RTEMS_BSP_CONFIGURE |
---|
4 | dnl Common macro to be included by all bsp-configure.acs |
---|
5 | AC_DEFUN([RTEMS_BSP_CONFIGURE], |
---|
6 | [ |
---|
7 | AC_PREREQ([2.52]) |
---|
8 | AM_MAINTAINER_MODE |
---|
9 | RTEMS_ENV_RTEMSBSP |
---|
10 | |
---|
11 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
12 | RTEMS_CHECK_BSP_CACHE(RTEMS_BSP) |
---|
13 | |
---|
14 | RTEMS_CANONICAL_HOST |
---|
15 | AM_CONFIG_HEADER([include/bspopts.tmp:include/bspopts.h.in],[ |
---|
16 | echo "/* BSP dependent options file */" >$tmp/config.h |
---|
17 | echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h |
---|
18 | echo >>$tmp/config.h |
---|
19 | echo "#ifndef __BSP_OPTIONS_h" >>$tmp/config.h |
---|
20 | echo "#define __BSP_OPTIONS_h" >>$tmp/config.h |
---|
21 | echo >>$tmp/config.h |
---|
22 | sed -e '/.*PACKAGE.*/d' include/bspopts.tmp >> $tmp/config.h |
---|
23 | echo >>$tmp/config.h |
---|
24 | echo "#endif" >>$tmp/config.h |
---|
25 | AS_IF([cmp -s include/bspopts.h $tmp/config.h 2>/dev/null],[ |
---|
26 | AC_MSG_NOTICE([include/bspopts.h is unchanged]) |
---|
27 | rm -f $tmp/config.h],[ |
---|
28 | AC_MSG_NOTICE([creating include/bspopts.h]) |
---|
29 | rm -f include/bspopts.h |
---|
30 | mv $tmp/config.h include/bspopts.h |
---|
31 | ]) |
---|
32 | ]) |
---|
33 | RTEMS_PROJECT_ROOT |
---|
34 | |
---|
35 | RTEMS_CHECK_MULTIPROCESSING |
---|
36 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.