Changeset 36202ec in rtems


Ignore:
Timestamp:
Jan 8, 2002, 12:06:18 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0009c70
Parents:
8accf46
Message:

2002-02-07 Ralf Corsepius <corsepiu@…>

  • aclocal/check-tool.m4: Remove AC_CHECK_TOOL_PREFIX, conditionalize check upon host_alias != build_alias.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r8accf46 r36202ec  
     12002-02-07      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/check-tool.m4: Remove AC_CHECK_TOOL_PREFIX, conditionalize
     4        check upon host_alias != build_alias.
     5
    162002-01-07      Joel Sherrill <joel@OARcorp.com>
    27
  • aclocal/check-tool.m4

    r8accf46 r36202ec  
    33## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
    44## the un-prefixed version of PROG-TO-CHECK-FOR.
    5 ## HACK: AC_CHECK_TOOL_PREFIX is an internal macro from autoconf-2.13
    65dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
    76AC_DEFUN(RTEMS_CHECK_TOOL,
    8 [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
    9 AC_CHECK_PROG($1, ${ac_tool_prefix}$2, ${ac_tool_prefix}$2, $3, $4)
     7[
     8  AS_IF([test "x$build_alias" != "x$host_alias"],
     9    [rtems_tool_prefix=${ac_tool_prefix}])
     10  AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
    1011])
Note: See TracChangeset for help on using the changeset viewer.