source: rtems/aclocal/tool-prefix.m4 @ 817466c

4.104.114.84.9
Last change on this file since 817466c 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: 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.