source: rtems/testsuites/aclocal/check-cpuopts.m4 @ d0061287

4.115
Last change on this file since d0061287 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 526 bytes
Line 
1
2# RTEMS_CHECK_CPUOPTS(define)
3AC_DEFUN([RTEMS_CHECK_CPUOPTS],
4[
5sav_CPPFLAGS="$CPPFLAGS"
6AS_IF([test "${enable_cpukit_root+set}" = set],[
7  CPPFLAGS="$CPPFLAGS -I$cpukit_rootdir/lib/include"
8])
9AS_IF([test "${enable_project_root+set}" = set],[
10  CPPFLAGS="$CPPFLAGS -I$project_rootdir/lib/include"
11])
12AC_CACHE_CHECK(
13  [for $1],
14  [rtems_cv_$1],
15  [AC_COMPILE_IFELSE([AC_LANG_SOURCE([
16#include <rtems/system.h>
17#ifndef $1
18choke me
19#endif
20    ])],
21    [rtems_cv_$1=yes],
22    [rtems_cv_$1=no])
23  ])
24CPPFLAGS="$sav_CPPFLAGS"
25])
Note: See TracBrowser for help on using the repository browser.