Last change
on this file since 9e8c23a was
038f3a7e,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/11/07 at 10:29:38
|
2007-02-11 Ralf Corsépius <ralf.corsepius@…>
- aclocal/check-cpuopts.m4: Check rtems/system.h instead of
rtems/score/cpuopts.h.
|
-
Property mode set to
100644
|
File size:
509 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | # RTEMS_CHECK_CPUOPTS(define) |
---|
4 | AC_DEFUN([RTEMS_CHECK_CPUOPTS], |
---|
5 | [ |
---|
6 | sav_CPPFLAGS="$CPPFLAGS" |
---|
7 | AS_IF([test "${enable_cpukit_root+set}" = set],[ |
---|
8 | CPPFLAGS="$CPPFLAGS -I$cpukit_rootdir/lib/include" |
---|
9 | ]) |
---|
10 | AS_IF([test "${enable_project_root+set}" = set],[ |
---|
11 | CPPFLAGS="$CPPFLAGS -I$project_rootdir/lib/include" |
---|
12 | ]) |
---|
13 | AC_CACHE_CHECK( |
---|
14 | [for $1], |
---|
15 | [rtems_cv_$1], |
---|
16 | [AC_COMPILE_IFELSE([ |
---|
17 | #include <rtems/system.h> |
---|
18 | #ifndef $1 |
---|
19 | choke me |
---|
20 | #endif |
---|
21 | ], |
---|
22 | [rtems_cv_$1=yes], |
---|
23 | [rtems_cv_$1=no]) |
---|
24 | ]) |
---|
25 | CPPFLAGS="$sav_CPPFLAGS" |
---|
26 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.