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

4.104.114.84.95
Last change on this file since b931d05a was b931d05a, checked in by Joel Sherrill <joel.sherrill@…>, on 09/30/98 at 19:51:39

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.