4.104.114.84.95
Last change
on this file since 73777aa was
73777aa,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/09/05 at 09:36:43
|
Apply cpukit_root, project_root to set up temporary CPPFLAGS to compile check cpuopts.h.
|
-
Property mode set to
100644
|
File size:
516 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/score/cpuopts.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.