source: rtems/aclocal/canonical-target-name.m4 @ bf1ef5b

4.104.114.84.9
Last change on this file since bf1ef5b was b931d05a, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 30, 1998 at 7:51:39 PM

Added Id's.

  • Property mode set to 100644
File size: 471 bytes
Line 
1dnl
2dnl $Id$
3dnl
4
5dnl canonicalize target name
6dnl NOTE: Most rtems targets do not fullfil autoconf's
7dnl target naming conventions "processor-vendor-os"
8dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
9dnl and we have to fix it for rtems ourselves
10
11AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
12[AC_MSG_CHECKING(rtems target cpu)
13changequote(<<, >>)dnl
14target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
15changequote([, ])dnl
16AC_MSG_RESULT($target_cpu)
17])
Note: See TracBrowser for help on using the repository browser.