source: rtems/aclocal/tool-prefix.m4 @ 15aa5ffb

4.104.114.84.95
Last change on this file since 15aa5ffb 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: 391 bytes
Line 
1dnl
2dnl  $Id$
3dnl
4dnl Set program_prefix
5dnl
6dnl 98/05/20 Ralf Corsepius     (corsepiu@faw.uni-ulm.de)
7dnl                             Extracted from configure
8
9AC_DEFUN(RTEMS_TOOL_PREFIX,
10[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
11AC_REQUIRE([AC_CANONICAL_BUILD])dnl
12
13if [[ "${program_prefix}" = "NONE" ]] ; then
14  if [[ "${target}" = "${host}" ]] ; then
15    program_prefix=
16  else
17    program_prefix=${target}-
18  fi
19fi
20])
Note: See TracBrowser for help on using the repository browser.