source: rtems/cpukit/aclocal/canonical-target-name.m4 @ 2126438a

5
Last change on this file since 2126438a 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: 576 bytes
Line 
1dnl canonicalize target cpu
2dnl NOTE: Most rtems targets do not fullfil autoconf's
3dnl target naming conventions "processor-vendor-os"
4dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
5dnl and we have to fix it for rtems ourselves
6
7AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
8[AC_REQUIRE([AC_CANONICAL_HOST])
9AC_MSG_CHECKING(rtems target cpu)
10case "${host}" in
11*-*-rtems*)
12        RTEMS_CPU="$host_cpu";;
13*)
14        ;;
15esac
16AS_IF([test -n "$RTEMS_CPU"],
17[dnl
18AC_MSG_RESULT($RTEMS_CPU)],
19[dnl
20AC_MSG_RESULT([<none>])
21AC_MSG_ERROR([unsupported host $host])])
22AC_SUBST(RTEMS_CPU)
23])
Note: See TracBrowser for help on using the repository browser.