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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [aclocal/] [tool-prefix.m4] - Blame information for rev 158

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

Line No. Rev Author Line
1 158 chris
dnl
2
dnl  $Id: tool-prefix.m4,v 1.1.1.1 2001-07-10 09:41:17 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.