OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [tool-prefix.m4] - Blame information for rev 249

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl
2
dnl  $Id: tool-prefix.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
3
dnl
4
dnl Set program_prefix
5
dnl
6
dnl 98/05/20 Ralf Corsepius     (corsepiu@faw.uni-ulm.de)
7
dnl                             Extracted from configure
8
 
9
AC_DEFUN(RTEMS_TOOL_PREFIX,
10
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
11
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
12
 
13
changequote(,)dnl
14
if [ "${program_prefix}" = "NONE" ] ; then
15
  if [ "${target}" = "${host}" ] ; then
16
    program_prefix=
17
  else
18
    program_prefix=${target}-
19
  fi
20
fi
21
changequote([,])dnl
22
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.