source:
rtems/aclocal/tool-prefix.m4
@
15aa5ffb
Last change on this file since 15aa5ffb was b931d05a, checked in by Joel Sherrill <joel.sherrill@…>, on 09/30/98 at 19:51:39 | |
---|---|
|
|
File size: 391 bytes |
Rev | Line | |
---|---|---|
[b931d05a] | 1 | dnl |
2 | dnl $Id$ | |
3 | dnl | |
[6207ea2] | 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 | if [[ "${program_prefix}" = "NONE" ]] ; then | |
14 | if [[ "${target}" = "${host}" ]] ; then | |
15 | program_prefix= | |
16 | else | |
17 | program_prefix=${target}- | |
18 | fi | |
19 | fi | |
20 | ]) |
Note: See TracBrowser
for help on using the repository browser.